diff options
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Hud.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Hud.java b/core/src/ch/asynk/tankontank/game/Hud.java index 9d8ceed..85bbf3d 100644 --- a/core/src/ch/asynk/tankontank/game/Hud.java +++ b/core/src/ch/asynk/tankontank/game/Hud.java @@ -173,6 +173,13 @@ public class Hud implements Disposable ctrl.blockMap = false; } + public void notifyEndOfTurn() + { + ctrl.blockMap = true; + dialogAction = DialogAction.END_TURN; + okCancel.show("You have no more Action Points left.", Position.MIDDLE_CENTER, false); + } + public void askEndOfTurn() { ctrl.blockMap = true; |