summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-03-30 16:55:51 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2016-03-30 16:55:51 +0200
commit8419c7716ae50f422f186e3bf43fe548e6b4e768 (patch)
tree793308ebaf553e28f5d67163a4eac99259f98e18 /core/src/ch/asynk/rustanddust
parent8274022ec734a1bec909fba4c8026d06e3b70ddc (diff)
downloadRustAndDust-8419c7716ae50f422f186e3bf43fe548e6b4e768.zip
RustAndDust-8419c7716ae50f422f186e3bf43fe548e6b4e768.tar.gz
Hud: remove unused END_OF_TURN action
Diffstat (limited to 'core/src/ch/asynk/rustanddust')
-rw-r--r--core/src/ch/asynk/rustanddust/game/Hud.java21
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;