Class GameStateChangeEvent

  • public class GameStateChangeEvent
    extends org.bukkit.event.Event
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.bukkit.event.Event

    • Method Summary

      Modifier and Type Method Description
      IArena getArena()  
      static org.bukkit.event.HandlerList getHandlerList()  
      org.bukkit.event.HandlerList getHandlers()  
      GameState getNewState()  
      GameState getOldState()  
      • Methods inherited from class org.bukkit.event.Event

        getEventName, isAsynchronous
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GameStateChangeEvent

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

      • 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()