Class MatchEvent

java.lang.Object
org.bukkit.event.Event
fr.revived.morpheus.game.api.event.GameEvent
fr.revived.morpheus.game.api.event.MatchEvent
Direct Known Subclasses:
BedDestroyedEvent, GameLoadEvent, GameStartEvent, GameStateChangeEvent, GameStopEvent, GameWonEvent, MatchTimerExpiredEvent, PlayerEliminatedEvent, PlayerJoinMatchEvent, PlayerLeaveMatchEvent, TeamEliminatedEvent

public abstract class MatchEvent extends GameEvent
Base class for events that are scoped to a specific Match.
  • 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
     
  • 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

    • MatchEvent

      protected MatchEvent(Match match)
  • Method Details

    • getMatch

      public Match getMatch()
      Returns:
      the match in which this event occurred.
    • getHandlers

      public org.bukkit.event.HandlerList getHandlers()
      Overrides:
      getHandlers in class GameEvent
    • getHandlerList

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