summaryrefslogtreecommitdiffstats
path: root/core/src/ch
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-10-12 22:39:28 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-10-12 22:39:28 +0200
commit6dc47b01416234fc898f2e33147732a64e13a5ef (patch)
treee897f2ff6577f0e1d94a7c46d14e2fd475929c61 /core/src/ch
parent55a19e00911e43603585903d1e2bf42ce209bee4 (diff)
downloadRustAndDust-6dc47b01416234fc898f2e33147732a64e13a5ef.zip
RustAndDust-6dc47b01416234fc898f2e33147732a64e13a5ef.tar.gz
extract Ctrl.Config -> Config
Diffstat (limited to 'core/src/ch')
-rw-r--r--core/src/ch/asynk/tankontank/game/Config.java21
-rw-r--r--core/src/ch/asynk/tankontank/game/Ctrl.java21
2 files changed, 21 insertions, 21 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Config.java b/core/src/ch/asynk/tankontank/game/Config.java
new file mode 100644
index 0000000..c2f933a
--- /dev/null
+++ b/core/src/ch/asynk/tankontank/game/Config.java
@@ -0,0 +1,21 @@
+package ch.asynk.tankontank.game;
+
+public class Config
+{
+ public boolean showMoves;
+ public boolean showTargets;
+ public boolean showMoveAssists;
+ public boolean canCancel;
+ public boolean mustValidate;
+ public boolean showEnemyPossibilities;
+
+ public Config()
+ {
+ this.showMoves = true;
+ this.showTargets = true;
+ this.showMoveAssists = true;
+ this.canCancel = true;
+ this.mustValidate = false;
+ this.showEnemyPossibilities = false;
+ }
+}
diff --git a/core/src/ch/asynk/tankontank/game/Ctrl.java b/core/src/ch/asynk/tankontank/game/Ctrl.java
index b6d5966..1011efa 100644
--- a/core/src/ch/asynk/tankontank/game/Ctrl.java
+++ b/core/src/ch/asynk/tankontank/game/Ctrl.java
@@ -11,27 +11,6 @@ import ch.asynk.tankontank.game.states.StateAnimation;
public class Ctrl implements Disposable
{
-
- public class Config
- {
- public boolean showMoves;
- public boolean showTargets;
- public boolean showMoveAssists;
- public boolean canCancel;
- public boolean mustValidate;
- public boolean showEnemyPossibilities;
-
- public Config()
- {
- this.showMoves = true;
- this.showTargets = true;
- this.showMoveAssists = true;
- this.canCancel = true;
- this.mustValidate = false;
- this.showEnemyPossibilities = false;
- }
- }
-
private final TankOnTank game;
private Factory factory;