diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-15 16:08:02 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-15 16:08:02 +0100 |
commit | d840dc817d4a9110cf6451b80ac5e982c9af68b7 (patch) | |
tree | a1d36fe0b9181e5126c3069694bacb6901caa844 /core/src/ch/asynk | |
parent | e29f3553e3ab34b06ec657cdd0444d9f813599a3 (diff) | |
download | RustAndDust-d840dc817d4a9110cf6451b80ac5e982c9af68b7.zip RustAndDust-d840dc817d4a9110cf6451b80ac5e982c9af68b7.tar.gz |
Hud,PlayerInfo: askEndTurn() -> askEndOfTurn()
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)) |