- Added CardShop.

This commit is contained in:
jendave
2011-08-06 03:44:30 +00:00
parent 78521f3849
commit 2cac78c2a1
16 changed files with 4001 additions and 25 deletions

View File

@@ -23,9 +23,10 @@ public class QuestData_State implements Serializable {
private static final long serialVersionUID = 7007940230351051937L;
int rankIndex, win, lost;
long credits;
String difficulty;
ArrayList<String> cardPool;
ArrayList<String> cardPool, shopList;
HashMap<String, Deck> myDecks, aiDecks;
private Object readResolve() throws ObjectStreamException {
@@ -39,6 +40,6 @@ public class QuestData_State implements Serializable {
for(Entry<String, Deck> deck:this.aiDecks.entrySet()) {
aiDecks.put(deck.getKey(), deck.getValue().migrate());
}
return new forge.QuestData_State(rankIndex, win, lost, difficulty, cardPool, myDecks, aiDecks);
return new forge.QuestData_State(rankIndex, win, lost, credits, difficulty, cardPool, shopList, myDecks, aiDecks);
}
}