diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-03-29 14:10:03 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-03-29 14:10:03 +0200 |
commit | a789217b8603443232f862c8f59ad98e11de147c (patch) | |
tree | 87e9e9c0d4f88b1de2f2e8c7ce6a65a6566efd74 /core/src | |
parent | c85e52441a7a4d3828f985e8d5803219fee89f7e (diff) | |
download | RustAndDust-a789217b8603443232f862c8f59ad98e11de147c.zip RustAndDust-a789217b8603443232f862c8f59ad98e11de147c.tar.gz |
Config: add enum LoadMode
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/Config.java | 16 |
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; |