Interface CancellableEvent
- All Superinterfaces:
Event
- All Known Implementing Classes:
AbstractCancellableEvent,AbstractCancellablePlayerEvent,PlayerJoinEvent
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.lucypoulton.squirtgun.platform.event.Event
Event.Result -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()Cancels this event.booleanWhether the event has been cancelled by a handler.default booleanInverse ofisCancelled()
-
Method Details
-
cancel
void cancel()Cancels this event. -
willContinue
default boolean willContinue()Inverse ofisCancelled() -
isCancelled
boolean isCancelled()Whether the event has been cancelled by a handler.
-