Support command zone when loading game state.

This commit is contained in:
elcnesh
2015-04-02 07:57:23 +00:00
parent fc6be30e5b
commit 6491ea51b9

View File

@@ -174,6 +174,8 @@ public abstract class GameState {
else if (categoryName.equals("aicardsinlibrary")) aiCardTexts.put(ZoneType.Library, categoryValue);
else if (categoryName.equals("humancardsinexile")) humanCardTexts.put(ZoneType.Exile, categoryValue);
else if (categoryName.equals("aicardsinexile")) aiCardTexts.put(ZoneType.Exile, categoryValue);
else if (categoryName.equals("humancardsincommand")) humanCardTexts.put(ZoneType.Command, categoryValue);
else if (categoryName.equals("aicardsincommand")) aiCardTexts.put(ZoneType.Command, categoryValue);
else System.out.println("Unknown key: " + categoryName);
}
}