summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-03-29 14:10:03 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2016-03-29 14:10:03 +0200
commita789217b8603443232f862c8f59ad98e11de147c (patch)
tree87e9e9c0d4f88b1de2f2e8c7ce6a65a6566efd74 /core
parentc85e52441a7a4d3828f985e8d5803219fee89f7e (diff)
downloadRustAndDust-a789217b8603443232f862c8f59ad98e11de147c.zip
RustAndDust-a789217b8603443232f862c8f59ad98e11de147c.tar.gz
Config: add enum LoadMode
Diffstat (limited to 'core')
-rw-r--r--core/src/ch/asynk/rustanddust/game/Config.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Config.java b/core/src/ch/asynk/rustanddust/game/Config.java
index ed97b4f..ed9d224 100644
--- a/core/src/ch/asynk/rustanddust/game/Config.java
+++ b/core/src/ch/asynk/rustanddust/game/Config.java
@@ -35,6 +35,20 @@ public class Config
}
};
+ public enum LoadMode
+ {
+ LOAD("Load", 0),
+ REPLAY_LAST("Replay Last Turn", 1),
+ REPLAY_ALL("Full Replay", 2);
+ public String s;
+ public int i;
+ LoadMode(String s, int i)
+ {
+ this.s = s;
+ this.i = i;
+ }
+ }
+
public enum GameMode
{
SOLO("Solo", 0),
@@ -67,6 +81,7 @@ public class Config
};
public GameMode gameMode;
+ public LoadMode loadMode;
public boolean showMoves;
public boolean showTargets;
public boolean showMoveAssists;
@@ -85,6 +100,7 @@ public class Config
public Config()
{
this.gameMode = GameMode.SOLO;
+ this.loadMode = LoadMode.LOAD;
this.debug = false;
this.autoPath = true;
this.showMoves = true;