mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
Added version information to the Quest Data. This info can be used in the future to detect and update older versions of the quest state.
This commit is contained in:
@@ -65,8 +65,6 @@ public class QuestData {
|
||||
//used by shouldAddAdditionalCards()
|
||||
private Random random = new Random();
|
||||
|
||||
|
||||
//feel free to change this to something funnier
|
||||
private transient String[] rankArray;
|
||||
|
||||
public static final String FANTASY = "Fantasy";
|
||||
@@ -77,6 +75,9 @@ public class QuestData {
|
||||
|
||||
public final QuestPetManager petManager = new QuestPetManager();
|
||||
|
||||
//This field stores the version number of the QuestData format
|
||||
private static int VERSION_NUMBER = 0;
|
||||
|
||||
public QuestData() {
|
||||
preferences = new QuestPreferences();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user