Inherited by Polycode::InputEvent, and Polycode::ScreenEvent.
Public Member Functions | |
Event () | |
Default constructor. | |
Event (int eventCode) | |
Initializes the event with an eventCode. | |
int | getEventCode () const |
Returns the event code for this event. | |
EventDispatcher * | getDispatcher () const |
Returns the event dispatcher which originated the event. |
Event base class.
Subclass this class to pass complex data through events.
Polycode::Event::Event | ( | int | eventCode | ) |
Initializes the event with an eventCode.
eventCode | Event code to initalize with. |
EventDispatcher * Polycode::Event::getDispatcher | ( | ) | const |
Returns the event dispatcher which originated the event.
int Polycode::Event::getEventCode | ( | ) | const |
Returns the event code for this event.