Polycode
|
Can handle events from EventDispatcher classes. More...
Inherited by Polycode::EventDispatcher.
Public Member Functions | |
EventHandler () | |
Default constructor. | |
virtual void | handleEvent (Event *event) |
This method gets called by an EventDispatcher that the handler is listening to if the dispatching event's code matches the code that handler is listening for. |
Can handle events from EventDispatcher classes.
virtual void Polycode::EventHandler::handleEvent | ( | Event * | event | ) | [inline, virtual] |
This method gets called by an EventDispatcher that the handler is listening to if the dispatching event's code matches the code that handler is listening for.
Typically, you subclass EventHandler and implement the handleEvent method to handle specific events.
Reimplemented in Polycode::Screen, Polycode::CoreServices, Polycode::Tween, and Polycode::ScreenManager.