Package | Description |
---|---|
net.viktorc.detroid.framework.engine | |
net.viktorc.detroid.framework.gui.dialogs | |
net.viktorc.detroid.framework.validation |
Modifier and Type | Method and Description |
---|---|
GameState |
Detroid.getGameState() |
GameState |
Game.getState() |
Modifier and Type | Method and Description |
---|---|
void |
Game.setState(GameState state)
Sets the state of the game in case of draw by agreement, resignation, or time out.
|
Constructor and Description |
---|
GameOverAlert(Stage owner,
GameState state,
boolean onTime)
Constructs an instance based on the specified parameters.
|
Modifier and Type | Method and Description |
---|---|
GameState |
ControllerEngine.getGameState()
Returns the current game state as labelled by
GameState . |
static GameState |
GameState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GameState[] |
GameState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2020. All rights reserved.