moved the level varible from MTGcard to MTGprimitive.
This commit is contained in:
@@ -29,6 +29,7 @@ class CardPrimitive {
|
||||
string spellTargetType;
|
||||
int power;
|
||||
int toughness;
|
||||
int level;
|
||||
vector<int>types;
|
||||
CardPrimitive();
|
||||
CardPrimitive(CardPrimitive * source);
|
||||
@@ -74,6 +75,8 @@ class CardPrimitive {
|
||||
int getPower();
|
||||
void setToughness(int _toughness);
|
||||
int getToughness();
|
||||
void setMaxLevel(int _level);
|
||||
int getMaxLevel();
|
||||
|
||||
const vector<string>& formattedText();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user