diff options
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/Ctrl.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Ctrl.java b/core/src/ch/asynk/rustanddust/game/Ctrl.java index 9fcfe08..a92b91d 100644 --- a/core/src/ch/asynk/rustanddust/game/Ctrl.java +++ b/core/src/ch/asynk/rustanddust/game/Ctrl.java @@ -259,15 +259,15 @@ public class Ctrl implements Disposable StateType nextState = this.state.execute(); if (nextState == StateType.DONE) { + if (battle.actionDone()) { + hud.notify("1 Action Point burnt"); + hud.update(); + } if (battle.getPlayer().apExhausted()) { - hud.notify("No more Action Points", 1f, Position.MIDDLE_CENTER, false); + hud.notify("No more Action Points"); nextState = StateType.TURN_OVER; - } - else if (battle.actionDone()) { - hud.notify("1 Action Point burnt", 0.6f, Position.BOTTOM_CENTER, false); - hud.update(); + } else nextState = battle.getState(); - } } return nextState; |