mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-03-03 08:39:45 +01:00
54 lines
1.3 KiB
Java
54 lines
1.3 KiB
Java
package inf112.fiasko.roborally.elementproperties;
|
|
|
|
/**
|
|
* This enum represents the different states the game can be in
|
|
*/
|
|
public enum GameState {
|
|
|
|
/**
|
|
* At the absolute start of the game, before anything has happended
|
|
*/
|
|
BEGINNING_OF_GAME,
|
|
/**
|
|
* Indicates that the users' input is being run. The board should be shown
|
|
*/
|
|
RUNNING_PROGRAMS,
|
|
/**
|
|
* The game is in the process of setting up things which are needed before it's ready for user input
|
|
*/
|
|
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
|
|
*/
|
|
CHOOSING_STAY_IN_POWER_DOWN,
|
|
/**
|
|
* Indicates that the game is won by a player
|
|
*/
|
|
GAME_IS_WON,
|
|
/**
|
|
* Indicates that the game is currently waiting for something
|
|
*/
|
|
LOADING,
|
|
/**
|
|
* Indicates that the game is no longer running
|
|
*/
|
|
EXITED,
|
|
|
|
SKIP_POWER_DOWN_SCREEN,
|
|
|
|
SKIP_STAY_IN_POWER_DOWN
|
|
|
|
}
|