diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-14 12:02:40 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-14 12:02:40 +0100 |
commit | 0b86e9f4c892a1684a2b1ee1946b7cc2a50a98bf (patch) | |
tree | 889bf41bbc5cd2b55afcb4458f9f8a019659f52b /core/src/ch | |
parent | a789f7fb324adbd2068faa20c651904613c24ebb (diff) | |
download | RustAndDust-0b86e9f4c892a1684a2b1ee1946b7cc2a50a98bf.zip RustAndDust-0b86e9f4c892a1684a2b1ee1946b7cc2a50a98bf.tar.gz |
Ctrl: call hud.update() instead of hud.playerInfo.update(...)
Diffstat (limited to 'core/src/ch')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Ctrl.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Ctrl.java b/core/src/ch/asynk/tankontank/game/Ctrl.java index cee17d8..3900668 100644 --- a/core/src/ch/asynk/tankontank/game/Ctrl.java +++ b/core/src/ch/asynk/tankontank/game/Ctrl.java @@ -111,8 +111,7 @@ public class Ctrl implements Disposable private void startPlayerTurn() { player.turnStart(); - hud.playerInfo.update(player, battle.getHudPosition(player)); - // setState(battle.getState(player)); + hud.update(); hud.notify(player.getName() + "'s turn", 2, Position.MIDDLE_CENTER, true); } @@ -151,7 +150,7 @@ public class Ctrl implements Disposable if (map.activatedPawns.size() > 0) { player.burnDownOneAp(); - hud.playerInfo.update(player, battle.getHudPosition(player)); + hud.update(); } if (player.apExhausted()) |