FIFE  be64c707dea6b3250bd4355bf5c825d25920087d
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 ()
 
- 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 ()
 

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

◆ ~ISdlEventListener()

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

Definition at line 51 of file isdleventlistener.h.

Member Function Documentation

◆ onSdlEvent()

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::FifechanManager, FIFE::LibRocketManager, FIFE::HybridGuiManager, and FIFE::CEGuiManager.


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