Package me.hsgamer.minigamecore.bukkit
Class BukkitArena
java.lang.Object
me.hsgamer.minigamecore.base.Arena
me.hsgamer.minigamecore.bukkit.BukkitArena
- All Implemented Interfaces:
Runnable,Initializer
The
Arena for Bukkit-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBukkitArena(String name, ArenaManager arenaManager) 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, getArenaManager, getCurrentState, getCurrentStateInstance, getFeature, getGameState, getName, getNextState, getNextStateInstance, init, initArena, isValid, loadFeatures, loadGameStates, postInit, postInitArena, removeFromManager, run, setNextState
-
Constructor Details
-
BukkitArena
Create a new arena- Parameters:
name- the name of the arenaarenaManager- the arena manager
-
-
Method Details
-
isAsync
public abstract boolean isAsync()Does the arena run asynchronously?- Returns:
- true if it does
-
callStateChanged
- Overrides:
callStateChangedin classArena
-