summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-11-14 12:02:40 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-11-14 12:02:40 +0100
commit0b86e9f4c892a1684a2b1ee1946b7cc2a50a98bf (patch)
tree889bf41bbc5cd2b55afcb4458f9f8a019659f52b /core/src/ch/asynk
parenta789f7fb324adbd2068faa20c651904613c24ebb (diff)
downloadRustAndDust-0b86e9f4c892a1684a2b1ee1946b7cc2a50a98bf.zip
RustAndDust-0b86e9f4c892a1684a2b1ee1946b7cc2a50a98bf.tar.gz
Ctrl: call hud.update() instead of hud.playerInfo.update(...)
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r--core/src/ch/asynk/tankontank/game/Ctrl.java5
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())