Gamepublic interface IGame
| Modifier and Type | Method | Description |
|---|---|---|
void |
fastForward() |
Switch to fast forward until the first interuption.
|
javafx.beans.property.ObjectProperty<EGameSpeed> |
gameSpeedProperty() |
Property for the game speed.
|
Difficulty |
getDifficulty() |
Retrieve the difficultiy level of the game
|
EGameSpeed |
getGameSpeed() |
Retrieve the current game speed
|
IMap |
getMap() |
Retrieve the map
|
boolean |
isObjectivReached() |
check if the objective of the game is reached.
|
void |
normalSpeed() |
Return to normal speed.
|
void |
setGameSpeed(EGameSpeed speed) |
Set a new game speed
|
IMap getMap()
boolean isObjectivReached()
void setGameSpeed(EGameSpeed speed)
speed - new game speed.EGameSpeed getGameSpeed()
javafx.beans.property.ObjectProperty<EGameSpeed> gameSpeedProperty()
Difficulty getDifficulty()
void fastForward()
void normalSpeed()
Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.