From f501da949c577f954ed9f93535f782d0141f1510 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 9 Dec 2015 01:18:30 +0100 Subject: Ctrl: code reorder --- core/src/ch/asynk/rustanddust/game/Ctrl.java | 4 ++-- 1 file 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(); -- cgit v1.1-2-g2b99