Bandidos
|
Public Member Functions | |
Event (String type) | |
String | getType () |
EventDispatcher | getDispatcher () |
void | setDispatcher (EventDispatcher dispatcherValue) |
void | clean () |
An event is an information container which can be dispatched and listened to by EventDispatchers.
com.mygdx.game.engine.events.Event.Event | ( | String | type | ) |
void com.mygdx.game.engine.events.Event.clean | ( | ) |
Cleans The event from any references after it is used.
EventDispatcher com.mygdx.game.engine.events.Event.getDispatcher | ( | ) |
The EventDispatcher which dispatched this event
String com.mygdx.game.engine.events.Event.getType | ( | ) |
Name of the event to determine its event type.
void com.mygdx.game.engine.events.Event.setDispatcher | ( | EventDispatcher | dispatcherValue | ) |
Sets the EventDispatcher which dispatched this event. If it already has a value, it can not be changed to another.
The | EventDispatcher to link to the event. |