public interface IGame
| Type | Property and Description |
|---|---|
javafx.beans.property.ObjectProperty<EGameSpeed> |
gameSpeed
Property for the game speed.
|
| Modifier and Type | Method and 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
|
Date |
getTime()
Retrieve the game time
|
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
|
javafx.beans.property.ObjectProperty<EGameSpeed> gameSpeedProperty
getGameSpeed(),
setGameSpeed(EGameSpeed)IMap getMap()
boolean isObjectivReached()
void setGameSpeed(EGameSpeed speed)
speed - EGameSpeed getGameSpeed()
javafx.beans.property.ObjectProperty<EGameSpeed> gameSpeedProperty()
getGameSpeed(),
setGameSpeed(EGameSpeed)Difficulty getDifficulty()
Date getTime()
void fastForward()
void normalSpeed()
Copyright © 2011-2016 Sahits GmbH. All Rights Reserved.