From 1ee86bc7f2c8f04cec814566b7fd11c9a15d0928 Mon Sep 17 00:00:00 2001 From: EpicKnarvik97 Date: Tue, 14 Apr 2020 12:26:19 +0200 Subject: [PATCH] Legger til et objekt som representerer tilstanden til spillet --- .../element_properties/GameState.java | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/main/java/inf112/fiasko/roborally/element_properties/GameState.java diff --git a/src/main/java/inf112/fiasko/roborally/element_properties/GameState.java b/src/main/java/inf112/fiasko/roborally/element_properties/GameState.java new file mode 100644 index 0000000..f9c9dee --- /dev/null +++ b/src/main/java/inf112/fiasko/roborally/element_properties/GameState.java @@ -0,0 +1,20 @@ +package inf112.fiasko.roborally.element_properties; + +public enum GameState { + //Indicates that the server is waiting for something + WAITING, + //Indicates that the users' input is being run. The board should be shown + RUNNING_PROGRAMS, + //Indicates that + INITIAL_SETUP, + // + TURN_SETUP, + //Indicates that the game is in the process of cleaning up after a turn + TURN_CLEANUP, + //Indicates that the user is in the process of choosing cards + CHOOSING_CARDS, + //Indicates that the user is in the process of choosing whether to power down + CHOOSING_POWER_DOWN, + //Indicates that the user is in the process of choosing whether to stay in power down + CHOOSING_STAY_IN_POWER_DOWN +}