FIFE
be64c707dea6b3250bd4355bf5c825d25920087d
|
Listener of SDL events. More...
#include <isdleventlistener.h>
Public Member Functions | |
virtual bool | onSdlEvent (SDL_Event &evt)=0 |
Called when an SDL event is received from SDL. More... | |
virtual | ~ISdlEventListener () |
Public Member Functions inherited from FIFE::IListener | |
virtual bool | isActive () |
Indicates if the listener is active. More... | |
virtual void | setActive (bool active) |
Changes the listener status. More... | |
virtual | ~IListener () |
Additional Inherited Members | |
Protected Member Functions inherited from FIFE::IListener | |
IListener () | |
Listener of SDL events.
To be able to listen for commands you must make a class which inherits from this class and implements the onSdlEvent function.
Definition at line 44 of file isdleventlistener.h.
|
inlinevirtual |
Definition at line 51 of file isdleventlistener.h.
|
pure virtual |
Called when an SDL event is received from SDL.
evt | SDL event |
Implemented in FIFE::FifechanManager, FIFE::LibRocketManager, FIFE::HybridGuiManager, and FIFE::CEGuiManager.