Recast  1
Game with custom magic
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
CommandManager Class Reference

Send string-command through CommandManager. More...

#include <CommandManager.hpp>

Collaboration diagram for CommandManager:
Collaboration graph

Public Member Functions

 CommandManager ()
 Init CommandManager. More...
 
 CommandManager (const CommandManager &other)=delete
 
void onCommand (ICommandSender *sender, const std::string &cmd)
 
void executeDelayedCommandInUI ()
 

Detailed Description

Send string-command through CommandManager.

This is a very important class. Through this you can execute console-like text commands.

Constructor & Destructor Documentation

CommandManager::CommandManager ( )

Init CommandManager.

Adding all objects that extend ICommand to list (std::vector).

Warning
If you add an ICommand, you should add line here
CommandManager::CommandManager ( const CommandManager other)
delete

Member Function Documentation

void CommandManager::executeDelayedCommandInUI ( )

Here is the call graph for this function:

void CommandManager::onCommand ( ICommandSender sender,
const std::string &  cmd 
)

Here is the call graph for this function:


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