Class CancelableEvent

java.lang.Object
org.galliumpowered.event.Event
org.galliumpowered.event.CancelableEvent
Direct Known Subclasses:
PlayerEvent

public abstract class CancelableEvent extends Event
  • Field Details

    • isCancelled

      public boolean isCancelled
  • Constructor Details

    • CancelableEvent

      public CancelableEvent()
  • Method Details

    • setCancelled

      public void setCancelled(boolean cancelled)
      Cancel the event
    • isCancelled

      public boolean isCancelled()
      Whether the event was cancelled
      Returns:
      whether the event was cancelled