2020-04-14 15:54:09 +02:00
|
|
|
package inf112.fiasko.roborally.elementproperties;
|
2020-04-14 12:26:19 +02:00
|
|
|
|
2020-04-17 12:52:28 +02:00
|
|
|
/**
|
|
|
|
* This enum represents the different states the game can be in
|
|
|
|
*/
|
2020-04-14 12:26:19 +02:00
|
|
|
public enum GameState {
|
2020-04-17 12:52:28 +02:00
|
|
|
|
2020-04-14 15:54:09 +02:00
|
|
|
//Gives the game Access to the client and server
|
|
|
|
BEGINNING_OF_GAME,
|
2020-04-14 12:26:19 +02:00
|
|
|
//Indicates that the users' input is being run. The board should be shown
|
|
|
|
RUNNING_PROGRAMS,
|
|
|
|
//Indicates that
|
|
|
|
INITIAL_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
|
2020-04-14 14:51:29 +02:00
|
|
|
CHOOSING_STAY_IN_POWER_DOWN,
|
2020-04-14 15:16:51 +02:00
|
|
|
//Indicates that the game is won by a player
|
2020-04-16 15:03:04 +02:00
|
|
|
GAME_IS_WON,
|
2020-04-17 12:52:28 +02:00
|
|
|
//Indicates that the game is currently waiting for something
|
2020-04-16 15:03:04 +02:00
|
|
|
LOADING
|
|
|
|
|
2020-04-14 12:26:19 +02:00
|
|
|
}
|