Package org.galliumpowered.event
Class CancelableEvent
java.lang.Object
org.galliumpowered.event.Event
org.galliumpowered.event.CancelableEvent
- Direct Known Subclasses:
PlayerEvent
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Whether the event was cancelledvoid
setCancelled
(boolean cancelled) Cancel the 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
-