Adding a way to mark decks as "locked" based on options requirements (option on or off). Can be used for example to lock a deck until a specific set is not unlocked. Works for both player decks (could be used for premade?) and AI decks.

This commit is contained in:
wagic.the.homebrew
2011-05-06 06:40:00 +00:00
parent efad3f652f
commit 7beb958067
5 changed files with 57 additions and 21 deletions
+2
View File
@@ -20,6 +20,7 @@ private:
string mFilename;
string mDescription;
string mName;
vector<int> mUnlockRequirements;
int mDeckId;
string mAvatarFilename;
string mColorIndex;
@@ -44,6 +45,7 @@ public:
string getAvatarFilename();
string getColorIndex();
string getStatsSummary();
vector<int> getUnlockRequirements();
int getDeckId();
int getGamesPlayed();