From a789217b8603443232f862c8f59ad98e11de147c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Tue, 29 Mar 2016 14:10:03 +0200 Subject: Config: add enum LoadMode --- core/src/ch/asynk/rustanddust/game/Config.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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; -- cgit v1.1-2-g2b99