FIFE  be64c707dea6b3250bd4355bf5c825d25920087d
FIFE::ICommandListener Class Referenceabstract

Listener of command events. More...

#include <icommandlistener.h>

+ Inheritance diagram for FIFE::ICommandListener:
+ Collaboration diagram for FIFE::ICommandListener:

Public Member Functions

virtual void onCommand (Command &command)=0
 Called when a command is received from a command source. More...
 
virtual ~ICommandListener ()
 
- 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 command events.

To be able to listen for commands you must make a class which inherits from this class and implements the onCommand function.

Definition at line 44 of file icommandlistener.h.

Constructor & Destructor Documentation

◆ ~ICommandListener()

virtual FIFE::ICommandListener::~ICommandListener ( )
inlinevirtual

Definition at line 51 of file icommandlistener.h.

Member Function Documentation

◆ onCommand()

virtual void FIFE::ICommandListener::onCommand ( Command command)
pure virtual

Called when a command is received from a command source.

Parameters
commandcommand coming from command source

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