![]() |
Recast
1
Game with custom magic
|
Superclass for Command object. More...
#include <ICommand.hpp>
Public Member Functions | |
ICommand () | |
ICommand (const ICommand &other) | |
virtual bool | isOnlyUICommand () |
virtual bool | isValid (const std::string &cmd, const std::vector< std::string > &args) const =0 |
virtual void | onCommand (ICommandSender &sender, const std::string &cmd, const std::vector< std::string > &args)=0 |
Superclass for Command object.
If you want to create new command you should extend ICommand class and register that in CommandManager constructor
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented in CreateEntityCommand.
|
pure virtual |
Implemented in CreateEntityCommand, and StopCommand.
|
pure virtual |
Implemented in CreateEntityCommand, and StopCommand.