summaryrefslogtreecommitdiffstats
path: root/core/src/ch
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-04-01 01:01:29 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2016-04-01 01:01:29 +0200
commitedf03bf27886c3b0955b4a044728d90981e0d3c5 (patch)
treedc427854a889c8fbf1a5b627a9e9bbee8c7011dc /core/src/ch
parentf8ffea3395563f3964c260e0a7176b9c42d12cca (diff)
downloadRustAndDust-edf03bf27886c3b0955b4a044728d90981e0d3c5.zip
RustAndDust-edf03bf27886c3b0955b4a044728d90981e0d3c5.tar.gz
Ctrl: add error msg in getState(StateType)
Diffstat (limited to 'core/src/ch')
-rw-r--r--core/src/ch/asynk/rustanddust/game/Ctrl.java1
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;
}