Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F145198
card.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
803 B
Referenced Files
None
Subscribers
None
card.h
View Options
#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
Details
Attached
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)
Attached To
Mode
R82 deerportal
Attached
Detach File
Event Timeline