From 6bee788e68c15adc6d7a0f73f397deec49f883af Mon Sep 17 00:00:00 2001 From: jendave Date: Sat, 6 Aug 2011 17:33:10 +0000 Subject: [PATCH] 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. --- src/forge/quest/data/QuestData.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/forge/quest/data/QuestData.java b/src/forge/quest/data/QuestData.java index 9b2987364e9..bc2988b3b03 100644 --- a/src/forge/quest/data/QuestData.java +++ b/src/forge/quest/data/QuestData.java @@ -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();