diff options
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Hud.java | 2 | ||||
-rw-r--r-- | core/src/ch/asynk/tankontank/game/hud/PlayerInfo.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Hud.java b/core/src/ch/asynk/tankontank/game/Hud.java index 5b1ae3b..9d8ceed 100644 --- a/core/src/ch/asynk/tankontank/game/Hud.java +++ b/core/src/ch/asynk/tankontank/game/Hud.java @@ -173,7 +173,7 @@ public class Hud implements Disposable ctrl.blockMap = false; } - public void askEndTurn() + public void askEndOfTurn() { ctrl.blockMap = true; dialogAction = DialogAction.END_TURN; diff --git a/core/src/ch/asynk/tankontank/game/hud/PlayerInfo.java b/core/src/ch/asynk/tankontank/game/hud/PlayerInfo.java index c03e406..5b7b54e 100644 --- a/core/src/ch/asynk/tankontank/game/hud/PlayerInfo.java +++ b/core/src/ch/asynk/tankontank/game/hud/PlayerInfo.java @@ -137,7 +137,7 @@ public class PlayerInfo implements Disposable, Drawable if (hit == turns) { if (turns.hit(x, y)) - ctrl.hud.askEndTurn(); + ctrl.hud.askEndOfTurn(); } else if (hit == reinforcement) { if (reinforcement.hit(x, y)) |