diff options
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Ctrl.java | 2 | ||||
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Hud.java | 11 |
2 files changed, 10 insertions, 3 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Ctrl.java b/core/src/ch/asynk/tankontank/game/Ctrl.java index dabe3fa..f40690e 100644 --- a/core/src/ch/asynk/tankontank/game/Ctrl.java +++ b/core/src/ch/asynk/tankontank/game/Ctrl.java @@ -169,7 +169,7 @@ public class Ctrl implements Disposable hud.update(); } if (player.apExhausted()) - hud.notifyEndOfTurn(); + hud.notifyNoMoreAP(); } if (nextState == StateType.DONE) diff --git a/core/src/ch/asynk/tankontank/game/Hud.java b/core/src/ch/asynk/tankontank/game/Hud.java index 9be9dba..6d8961a 100644 --- a/core/src/ch/asynk/tankontank/game/Hud.java +++ b/core/src/ch/asynk/tankontank/game/Hud.java @@ -254,9 +254,16 @@ public class Hud implements Disposable, Animation dialogs.addLast(dialog); } - public void notifyEndOfTurn() + public void notifyDeploymentDone() { - okCancel.show("You have no more Action Points left.", OkCancel.Action.END_TURN); + okCancel.show("Deployment Phase completed.", OkCancel.Action.END_TURN); + okCancel.noCancel(); + pushDialog(okCancel); + } + + public void notifyNoMoreAP() + { + okCancel.show("No more Action Point left.", OkCancel.Action.END_TURN); okCancel.noCancel(); pushDialog(okCancel); } |