Base Class for Script Events, doesn't really do anything by itself, but can be canceled.

Variables

@:value(false)cancelled:Bool = false

Whether or not the current event is canceled.

Methods

cancel():Void

Cancels current function (if cancellable).

cancellable():Bool

Whether or not an event can be canceled or not.