FIFE
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
FIFE::ISdlEventListener Class Referenceabstract

Listener of SDL events. More...

#include <ec_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 ec_isdleventlistener.h.

Constructor & Destructor Documentation

virtual FIFE::ISdlEventListener::~ISdlEventListener ( )
inlinevirtual

Definition at line 51 of file ec_isdleventlistener.h.

Member Function Documentation

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

Called when an SDL event is received from SDL.

Parameters
evtSDL event

Implemented in FIFE::GUIChanManager.


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