FIFE  6e1afdbeda11afe9ac53e6023a4be96ef88f1dc6
FIFE::ISdlEventListener Class Referenceabstract

Listener of SDL events. More...

#include <isdleventlistener.h>

+ Inheritance diagram for FIFE::ISdlEventListener:
+ Collaboration diagram for FIFE::ISdlEventListener:

Public Member Functions

virtual bool onSdlEvent (SDL_Event &evt)=0
 Called when an SDL event is received from SDL. More...
virtual ~ISdlEventListener ()

Detailed Description

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.

Constructor & Destructor Documentation

virtual FIFE::ISdlEventListener::~ISdlEventListener ( )

Definition at line 51 of file isdleventlistener.h.

Member Function Documentation

virtual bool FIFE::ISdlEventListener::onSdlEvent ( SDL_Event &  evt)
pure virtual

Called when an SDL event is received from SDL.

evtSDL event

Implemented in FIFE::FifechanManager, FIFE::LibRocketManager, FIFE::HybridGuiManager, and FIFE::CEGuiManager.

The documentation for this class was generated from the following file: