Class CancellableEvent

java.lang.Object
net.ME1312.Galaxi.Event.Event
net.ME1312.Galaxi.Event.CancellableEvent
All Implemented Interfaces:
Cancellable
Direct Known Subclasses:
CommandEvent, ConsoleInputEvent, GalaxiStopEvent

public abstract class CancellableEvent extends Event implements Cancellable
Cancellable SubEvent Layout Class
  • Constructor Details

    • CancellableEvent

      public CancellableEvent()
  • Method Details

    • isCancelled

      public boolean isCancelled()
      Gets if the Event has been Cancelled
      Specified by:
      isCancelled in interface Cancellable
      Returns:
      Cancelled Status
    • setCancelled

      public void setCancelled(boolean value)
      Sets if the Event is Cancelled
      Specified by:
      setCancelled in interface Cancellable
      Parameters:
      value -