Class GameStateChangeEvent
java.lang.Object
org.bukkit.event.Event
com.andrei1058.bedwars.api.events.gameplay.GameStateChangeEvent
public class GameStateChangeEvent
extends org.bukkit.event.Event
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionGameStateChangeEvent
(IArena a, GameState oldState, GameState newState) Called when the status of the game is changed. -
Method Summary
Modifier and TypeMethodDescriptiongetArena()
static org.bukkit.event.HandlerList
org.bukkit.event.HandlerList
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
GameStateChangeEvent
Called when the status of the game is changed. Waiting, Starting etc.
-
-
Method Details
-
getArena
-
getOldState
-
getNewState
-
getHandlers
public org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-