Class GameEvent

java.lang.Object
org.bukkit.event.Event
fr.revived.morpheus.game.api.event.GameEvent
Direct Known Subclasses:
MatchEvent

public abstract class GameEvent extends org.bukkit.event.Event
Base class for all Morpheus game events. All game-related events extend this to ensure they are registered in the Bukkit event system.
  • Nested Class Summary

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

    org.bukkit.event.Event.Result
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
    protected
    GameEvent(boolean isAsync)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.bukkit.event.HandlerList
     
    org.bukkit.event.HandlerList
     

    Methods inherited from class org.bukkit.event.Event

    callEvent, getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

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

    • GameEvent

      protected GameEvent()
    • GameEvent

      protected GameEvent(boolean isAsync)
  • Method Details

    • getHandlers

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

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