Class GameStateChangeEvent

java.lang.Object
org.bukkit.event.Event
com.andrei1058.bedwars.api.events.gameplay.GameStateChangeEvent

public class GameStateChangeEvent extends org.bukkit.event.Event
  • Constructor Details

    • GameStateChangeEvent

      public GameStateChangeEvent(IArena a, GameState oldState, GameState newState)
      Called when the status of the game is changed. Waiting, Starting etc.
  • Method Details

    • getArena

      public IArena getArena()
    • getOldState

      public GameState getOldState()
    • getNewState

      public GameState getNewState()
    • getHandlers

      public org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event
    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()