Package me.hsgamer.minigamecore.bukkit
Class BukkitArena
java.lang.Object
me.hsgamer.minigamecore.base.FeatureUnit
me.hsgamer.minigamecore.base.Arena
me.hsgamer.minigamecore.bukkit.BukkitArena
- All Implemented Interfaces:
Runnable,Initializer
The
Arena for Bukkit-
Constructor Summary
ConstructorsConstructorDescriptionBukkitArena(String name, List<FeatureUnit> parentList) Create a new arenaBukkitArena(String name, FeatureUnit... parent) Create a new arena -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancallStateChanged(GameState oldStage, GameState newStage) abstract booleanisAsync()Does the arena run asynchronously?Methods inherited from class me.hsgamer.minigamecore.base.Arena
clear, clearArena, getCurrentState, getCurrentStateInstance, getName, getNextState, getNextStateInstance, init, initArena, isValid, loadFeatures, loadGameStates, postInit, postInitArena, run, setNextStateMethods inherited from class me.hsgamer.minigamecore.base.FeatureUnit
getFeature, getFeatures, getGameState, getGameStates, getParent, getParentList
-
Constructor Details
-
BukkitArena
Create a new arena- Parameters:
name- the name of the arenaparentList- the parentFeatureUnitlist
-
BukkitArena
Create a new arena- Parameters:
name- the name of the arenaparent- the parentFeatureUnit
-
-
Method Details
-
isAsync
public abstract boolean isAsync()Does the arena run asynchronously?- Returns:
- true if it does
-
callStateChanged
- Overrides:
callStateChangedin classArena
-