Page MenuHomePhabricator (Chris)

card.h
No OneTemporary

Authored By
Unknown
Size
803 B
Referenced Files
None
Subscribers
None
#ifndef CARD_H
#define CARD_H
#include <string>
#include <array>
namespace efc {
const static std::array<std::string, 4> cardsTypes = {
{"stop", "card", "diamond", "diamond x 2"}
};
const static std::array<std::array<std::string,4>,4> cardsTitles = {
{{{"stop", "card", "diamond", "diamond x 2"}},
{{"stop", "card", "diamond", "diamond x 2"}},
{{"stop", "card", "diamond", "diamond x 2"}},
{{"stop", "card", "diamond", "diamond x 2"}}}
};
}
/*!
* \brief The Card definition
*/
class Card
{
public:
Card();
int id;
int elementNumber; //location
int amount;
std::string cardType;
// Card type from the cardsTypes
int cardTypeInt;
// Title of the card, will be presented at the bottom of the card
std::string cardTitle;
};
#endif // CARD_H

File Metadata

Mime Type
text/x-c++
Expires
Sun, Aug 16, 5:21 AM (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
77377
Default Alt Text
card.h (803 B)

Event Timeline