diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-15 16:41:33 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-15 16:41:33 +0100 |
commit | 8a64a7dd7f547556cda46bc20c5948844ffffb58 (patch) | |
tree | 00b3ae03b3713477a388f35bfca2bf8ba5e080e9 /core/src/ch | |
parent | d4a2b34687c0a81596cd8d5b7c882e9b935c384d (diff) | |
download | RustAndDust-8a64a7dd7f547556cda46bc20c5948844ffffb58.zip RustAndDust-8a64a7dd7f547556cda46bc20c5948844ffffb58.tar.gz |
Hud: add notifyEndOfTurn()
Diffstat (limited to 'core/src/ch')
-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; |