added option to save deck in editor as an AI deck.

No option to delete or edit the AI deck once it has been created.
The deck gets saved as the canonical form of the deck to match other AI deck formats.
This commit is contained in:
techdragon.nguyen@gmail.com
2010-10-22 08:28:52 +00:00
parent 3e601a950c
commit 34335ba2aa
4 changed files with 95 additions and 18 deletions
+1
View File
@@ -150,6 +150,7 @@ class MTGDeck{
int add(MTGCard * card);
int remove(MTGCard * card);
int save();
int save(string destFileName, bool useExpandedDescriptions, string deckName, string deckDesc);
MTGCard * getCardById(int id);
};