summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-11-15 16:41:33 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-11-15 16:41:33 +0100
commit8a64a7dd7f547556cda46bc20c5948844ffffb58 (patch)
tree00b3ae03b3713477a388f35bfca2bf8ba5e080e9 /core/src/ch/asynk
parentd4a2b34687c0a81596cd8d5b7c882e9b935c384d (diff)
downloadRustAndDust-8a64a7dd7f547556cda46bc20c5948844ffffb58.zip
RustAndDust-8a64a7dd7f547556cda46bc20c5948844ffffb58.tar.gz
Hud: add notifyEndOfTurn()
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r--core/src/ch/asynk/tankontank/game/Hud.java7
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;