diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/hud/PlayerInfo.java | 2 | ||||
-rw-r--r-- | core/src/ch/asynk/tankontank/game/hud/Statistics.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/src/ch/asynk/tankontank/game/hud/PlayerInfo.java b/core/src/ch/asynk/tankontank/game/hud/PlayerInfo.java index dc0c195..d6055fd 100644 --- a/core/src/ch/asynk/tankontank/game/hud/PlayerInfo.java +++ b/core/src/ch/asynk/tankontank/game/hud/PlayerInfo.java @@ -90,7 +90,7 @@ public class PlayerInfo implements Disposable, Drawable public void update(Player player, Position position) { unitDock.hide(); - turns.write("" + player.getTurn()); + turns.write("" + player.getCurrentTurn()); aps.write("" + player.getAp()); int r = player.reinforcement(); if (r == 0) { diff --git a/core/src/ch/asynk/tankontank/game/hud/Statistics.java b/core/src/ch/asynk/tankontank/game/hud/Statistics.java index bfad178..8742601 100644 --- a/core/src/ch/asynk/tankontank/game/hud/Statistics.java +++ b/core/src/ch/asynk/tankontank/game/hud/Statistics.java @@ -32,7 +32,7 @@ public class Statistics extends Bg public void show(Player winner, Player loser, Position position) { - title.write(winner.getName() + " player won the battle in " + winner.getTurn() + " turns."); + title.write(winner.getName() + " player won the battle in " + winner.getTurnDone() + " turns."); stats1.write(winner.getStats()); stats2.write(loser.getStats()); |