diff options
-rw-r--r-- | core/src/ch/asynk/tankontank/game/GameCtrl.java | 2 | ||||
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Hud.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/src/ch/asynk/tankontank/game/GameCtrl.java b/core/src/ch/asynk/tankontank/game/GameCtrl.java index 38057d6..d295185 100644 --- a/core/src/ch/asynk/tankontank/game/GameCtrl.java +++ b/core/src/ch/asynk/tankontank/game/GameCtrl.java @@ -27,7 +27,7 @@ public class GameCtrl implements Disposable this.game = game; this.factory = new GameFactory(game.manager); - this.hud = new Hud(game, this); + this.hud = new Hud(this, game); this.map = factory.getMap(this, game.manager, GameFactory.MapType.MAP_A); this.noneState = new GameStateNone(this, map); diff --git a/core/src/ch/asynk/tankontank/game/Hud.java b/core/src/ch/asynk/tankontank/game/Hud.java index 866c6a1..9918f68 100644 --- a/core/src/ch/asynk/tankontank/game/Hud.java +++ b/core/src/ch/asynk/tankontank/game/Hud.java @@ -84,7 +84,7 @@ public class Hud implements Disposable private Rectangle rect; private float elapsed; - public Hud(final TankOnTank game, final GameCtrl ctrl) + public Hud(final GameCtrl ctrl, final TankOnTank game) { this.game = game; this.ctrl = ctrl; |