Class StandaloneArena
java.lang.Object
me.hsgamer.minigamecore.base.FeatureUnit
me.hsgamer.minigamecore.base.Arena
me.hsgamer.minigamecore.standalone.StandaloneArena
- All Implemented Interfaces:
Runnable
,Initializer
,TimePeriod
The standalone
Arena
-
Constructor Summary
ConstructorsConstructorDescriptionStandaloneArena
(List<FeatureUnit> parentList) Create a new arenaStandaloneArena
(FeatureUnit... parent) Create a new arena -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Clear the arenagetTimer()
Get the timerprotected void
Initialize the arenaMethods inherited from class me.hsgamer.minigamecore.base.Arena
callStateChanged, clear, getCurrentState, getCurrentStateInstance, getNextState, getNextStateInstance, init, isValid, loadFeatures, loadGameStates, postInit, postInitArena, run, setNextState
Methods inherited from class me.hsgamer.minigamecore.base.FeatureUnit
getFeature, getFeatures, getGameState, getGameStates, getParent, getParentList
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface me.hsgamer.minigamecore.extra.TimePeriod
getDelay, getPeriod
-
Constructor Details
-
StandaloneArena
Create a new arena- Parameters:
parentList
- the parentFeatureUnit
list
-
StandaloneArena
Create a new arena- Parameters:
parent
- the parentFeatureUnit
-
-
Method Details
-
initArena
protected void initArena()Description copied from class:Arena
Initialize the arena -
clearArena
protected void clearArena()Description copied from class:Arena
Clear the arena- Overrides:
clearArena
in classArena
- See Also:
-
getTimer
Get the timer- Returns:
- the timer
-