Modifier and Type | Field and Description |
---|---|
private GameEngine.State |
GameEngine.state
Variable dictating whether the game is running or paused at any given moment
|
Modifier and Type | Method and Description |
---|---|
GameEngine.State |
GameEngine.state()
Return's the game's current play-state, which can either be [State.RUN] or [State.PAUSE]
This is not to be confused with the game-state (which is directly linked to the renderer)
|
static GameEngine.State |
GameEngine.State.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GameEngine.State[] |
GameEngine.State.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|