Event

Event

An event that can be listened to.

Constructor

new Event()

Source:

Methods

getData()

Get the data sent with the last event triggering.

Source:

getSender()

Get the sender of the last event triggering.

Source:

isTriggered()

Returns true if the event is triggered.

Source:

popData()

Deleted the last event data, to be called when it is sure the event was processed throughly.

Source:

pushData()

Add new data, to be called with the event data each time the event is triggered.

Source: