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