diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-03-30 16:55:51 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-03-30 16:55:51 +0200 |
commit | 8419c7716ae50f422f186e3bf43fe548e6b4e768 (patch) | |
tree | 793308ebaf553e28f5d67163a4eac99259f98e18 /core/src | |
parent | 8274022ec734a1bec909fba4c8026d06e3b70ddc (diff) | |
download | RustAndDust-8419c7716ae50f422f186e3bf43fe548e6b4e768.zip RustAndDust-8419c7716ae50f422f186e3bf43fe548e6b4e768.tar.gz |
Hud: remove unused END_OF_TURN action
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/Hud.java | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Hud.java b/core/src/ch/asynk/rustanddust/game/Hud.java index 56b76dd..aac5edb 100644 --- a/core/src/ch/asynk/rustanddust/game/Hud.java +++ b/core/src/ch/asynk/rustanddust/game/Hud.java @@ -50,7 +50,6 @@ public class Hud implements Disposable, Animation { EXIT_BOARD, ABORT_TURN, - END_TURN, END_DEPLOYMENT, QUIT_BATTLE, } @@ -244,10 +243,6 @@ public class Hud implements Disposable, Animation case EXIT_BOARD: ctrl.exitBoard(ok); break; - case END_TURN: - if (ok) - ctrl.endPlayerTurn(false); - break; case ABORT_TURN: if (ok) ctrl.endPlayerTurn(true); @@ -306,22 +301,6 @@ public class Hud implements Disposable, Animation } } - public void notifyDeploymentDone() - { - this.okCancelAction = OkCancelAction.END_TURN; - okCancel.show("Deployment Phase completed."); - okCancel.noCancel(); - pushDialog(okCancel); - } - - public void notifyNoMoreAP() - { - this.okCancelAction = OkCancelAction.END_TURN; - okCancel.show("No more Action Point left."); - okCancel.noCancel(); - pushDialog(okCancel); - } - public void askExitBoard() { this.okCancelAction = OkCancelAction.EXIT_BOARD; |