Package net.ME1312.Galaxi.Event
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
Cancellable SubEvent Layout Class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets if the Event has been Cancelledvoid
setCancelled
(boolean value) Sets if the Event is Cancelled
-
Constructor Details
-
CancellableEvent
public CancellableEvent()
-
-
Method Details
-
isCancelled
public boolean isCancelled()Gets if the Event has been Cancelled- Specified by:
isCancelled
in interfaceCancellable
- Returns:
- Cancelled Status
-
setCancelled
public void setCancelled(boolean value) Sets if the Event is Cancelled- Specified by:
setCancelled
in interfaceCancellable
- Parameters:
value
-
-