diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2015-12-09 01:18:30 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2015-12-09 01:18:30 +0100 |
commit | f501da949c577f954ed9f93535f782d0141f1510 (patch) | |
tree | d80ea6fa4d92746e9e6a58df45ae4876ab1dbf06 /core/src/ch/asynk/rustanddust | |
parent | 420562cd4b4edde63876271a2536d3118f329a2f (diff) | |
download | RustAndDust-f501da949c577f954ed9f93535f782d0141f1510.zip RustAndDust-f501da949c577f954ed9f93535f782d0141f1510.tar.gz |
Ctrl: code reorder
Diffstat (limited to 'core/src/ch/asynk/rustanddust')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/Ctrl.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Ctrl.java b/core/src/ch/asynk/rustanddust/game/Ctrl.java index 8259a6c..23116db 100644 --- a/core/src/ch/asynk/rustanddust/game/Ctrl.java +++ b/core/src/ch/asynk/rustanddust/game/Ctrl.java @@ -21,7 +21,7 @@ import ch.asynk.rustanddust.game.states.StateWithdraw; public class Ctrl implements Disposable { - private final RustAndDust game; + public final RustAndDust game; public final Battle battle; public Map map; @@ -51,9 +51,9 @@ public class Ctrl implements Disposable public Ctrl(final RustAndDust game, final Battle battle) { + game.ctrl = this; this.game = game; this.battle = battle; - game.ctrl = this; this.selectState = new StateSelect(); this.pathState = new StateMove(); |