summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/src/ch/asynk/tankontank/game/GameCtrl.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/GameCtrl.java b/core/src/ch/asynk/tankontank/game/GameCtrl.java
index 3d895d4..73efaea 100644
--- a/core/src/ch/asynk/tankontank/game/GameCtrl.java
+++ b/core/src/ch/asynk/tankontank/game/GameCtrl.java
@@ -12,11 +12,27 @@ import ch.asynk.tankontank.game.states.GameStateAnimation;
public class GameCtrl implements Disposable
{
+
+ public class Config
+ {
+ public boolean showMoves;
+ public boolean showTargets;
+ public boolean showMoveAssists;
+
+ public Config()
+ {
+ this.showMoves = true;;
+ this.showTargets = true;;
+ this.showMoveAssists= true;;
+ }
+ }
+
private final TankOnTank game;
private GameFactory factory;
public Map map;
public Hud hud;
+ public Config cfg;
private GameState selectState;
private GameState pathState;
@@ -30,6 +46,8 @@ public class GameCtrl implements Disposable
{
this.game = game;
+ this.cfg = new Config();
+
this.factory = new GameFactory(game.manager);
this.hud = new Hud(this, game);
this.map = factory.getMap(this, game.manager, GameFactory.MapType.MAP_A);