diff options
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/Ctrl.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Ctrl.java b/core/src/ch/asynk/rustanddust/game/Ctrl.java index 4a36b0e..7a5b140 100644 --- a/core/src/ch/asynk/rustanddust/game/Ctrl.java +++ b/core/src/ch/asynk/rustanddust/game/Ctrl.java @@ -164,6 +164,9 @@ public abstract class Ctrl implements Disposable // EVENTS + public void postDone() { post(StateType.DONE); } + public void postAbort() { post(StateType.ABORT); } + public void post(StateType stateType) { Event evt = freeEvents.pop(); |