summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/zproject/GameScreen.java
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk/zproject/GameScreen.java')
-rw-r--r--core/src/ch/asynk/zproject/GameScreen.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/src/ch/asynk/zproject/GameScreen.java b/core/src/ch/asynk/zproject/GameScreen.java
index 02b7db5..10eaacd 100644
--- a/core/src/ch/asynk/zproject/GameScreen.java
+++ b/core/src/ch/asynk/zproject/GameScreen.java
@@ -40,7 +40,7 @@ public class GameScreen implements Screen
public enum State
{
- UI, HEX_V, HEX_H;
+ UI, HEX_V, HEX_H, SQUARE;
public State next()
{
switch(this) {
@@ -49,6 +49,8 @@ public class GameScreen implements Screen
case HEX_V:
return HEX_H;
case HEX_H:
+ return SQUARE;
+ case SQUARE:
return UI;
default:
return UI;