Inherits Polycode::EventDispatcher.
Public Member Functions | |
void | removeScreen (Screen *screen) |
Removes a screen from the manager, taking it out of the render loop. | |
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. |
2D Screen manager.
Must be accessed via CoreServices. Screens are automatically added to the manager when they are created, so there is no need to manually add them.
void ScreenManager::handleEvent | ( | Event * | event | ) | [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 from Polycode::EventHandler.