diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-04-01 01:01:29 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-04-01 01:01:29 +0200 |
commit | edf03bf27886c3b0955b4a044728d90981e0d3c5 (patch) | |
tree | dc427854a889c8fbf1a5b627a9e9bbee8c7011dc /core/src | |
parent | f8ffea3395563f3964c260e0a7176b9c42d12cca (diff) | |
download | RustAndDust-edf03bf27886c3b0955b4a044728d90981e0d3c5.zip RustAndDust-edf03bf27886c3b0955b4a044728d90981e0d3c5.tar.gz |
Ctrl: add error msg in getState(StateType)
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/Ctrl.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Ctrl.java b/core/src/ch/asynk/rustanddust/game/Ctrl.java index eba5e39..bd93601 100644 --- a/core/src/ch/asynk/rustanddust/game/Ctrl.java +++ b/core/src/ch/asynk/rustanddust/game/Ctrl.java @@ -517,6 +517,7 @@ public abstract class Ctrl implements Disposable state = replayState; break; default: + RustAndDust.error(String.format("Unhandled State : %s", nextState)); break; } |