From 6dc47b01416234fc898f2e33147732a64e13a5ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Sun, 12 Oct 2014 22:39:28 +0200 Subject: extract Ctrl.Config -> Config --- core/src/ch/asynk/tankontank/game/Config.java | 21 +++++++++++++++++++++ core/src/ch/asynk/tankontank/game/Ctrl.java | 21 --------------------- 2 files changed, 21 insertions(+), 21 deletions(-) create mode 100644 core/src/ch/asynk/tankontank/game/Config.java 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; -- cgit v1.1-2-g2b99