summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/game
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-02-08 23:12:22 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-02-08 23:12:22 +0100
commit9865592546a0dc191f6669a50c63fc36ac6d6127 (patch)
tree6d62be6b13b09345b2e98d62e90164bec97308e0 /core/src/ch/asynk/tankontank/game
parent960980981b62628ba9eac8e94b1c3c32856246c8 (diff)
downloadRustAndDust-9865592546a0dc191f6669a50c63fc36ac6d6127.zip
RustAndDust-9865592546a0dc191f6669a50c63fc36ac6d6127.tar.gz
Config,OptionsMenu: replace regularPawn with graphics
Diffstat (limited to 'core/src/ch/asynk/tankontank/game')
-rw-r--r--core/src/ch/asynk/tankontank/game/Config.java27
1 files changed, 25 insertions, 2 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Config.java b/core/src/ch/asynk/tankontank/game/Config.java
index 811255f..c949b54 100644
--- a/core/src/ch/asynk/tankontank/game/Config.java
+++ b/core/src/ch/asynk/tankontank/game/Config.java
@@ -2,16 +2,39 @@ package ch.asynk.tankontank.game;
public class Config
{
+ public enum Graphics {
+ ORIGINAL("original"),
+ MINE("mine");
+ public String s;
+ Graphics(String s)
+ {
+ this.s = s;
+ }
+ public Graphics next()
+ {
+ Graphics next = null;
+ switch(this) {
+ case ORIGINAL:
+ next = MINE;
+ break;
+ case MINE:
+ next = ORIGINAL;
+ break;
+ }
+ return next;
+ }
+ };
+
public boolean showMoves;
public boolean showTargets;
public boolean showMoveAssists;
public boolean canCancel;
public boolean mustValidate;
public boolean showEnemyPossibilities;
- public boolean regularPawns;
public boolean debug;
public Battle battle;
public float fxVolume;
+ public Graphics graphics;
public Config()
{
@@ -22,7 +45,7 @@ public class Config
this.canCancel = false;
this.mustValidate = false;
this.showEnemyPossibilities = false;
- this.regularPawns = true;
+ this.graphics = Graphics.MINE;
this.battle = null;
this.fxVolume = 1f;
}