#include <KeosConsole.h>
Inheritance diagram for Keos::CConsole:

Public Member Functions | |
| CConsole () | |
| Constructeur par défaut. | |
| void | ChangeLook (Console::ILook *NewLook) |
| Change l'apparence de la console. | |
| void | RegisterCommand (const std::string &Name, const Console::CFunctor &Function, const std::string &Help="No help for this command") |
| Enregistre une nouvelle commande. | |
| void | SendChar (char Character) |
| Envoie un nouveau caractère à la console. | |
| void | Update () |
| Met à jour la console. | |
| void | Draw () const |
| Affiche la console. | |
| void | Enable (bool Enabled) |
| Active ou désactive la console. | |
Definition at line 64 of file KeosConsole.h.
| Keos::CConsole::CConsole | ( | ) |
Constructeur par défaut.
Definition at line 61 of file KeosConsole.cpp.
References Keos::Console::Bind(), and RegisterCommand().
| void Keos::CConsole::ChangeLook | ( | Console::ILook * | NewLook | ) |
Change l'apparence de la console.
| NewLook | : Pointeur sur le nouveau look |
Definition at line 77 of file KeosConsole.cpp.
References Assert.
| void Keos::CConsole::RegisterCommand | ( | const std::string & | Name, | |
| const Console::CFunctor & | Function, | |||
| const std::string & | Help = "No help for this command" | |||
| ) |
Enregistre une nouvelle commande.
| Name | : Nom de la commande | |
| Function | : Foncteur contenant la fonction associée |
Definition at line 92 of file KeosConsole.cpp.
Referenced by CConsole().
| void Keos::CConsole::SendChar | ( | char | Character | ) |
Envoie un nouveau caractère à la console.
| Character | : Caractère |
Definition at line 106 of file KeosConsole.cpp.
| void Keos::CConsole::Update | ( | ) |
| void Keos::CConsole::Draw | ( | ) | const |
| void Keos::CConsole::Enable | ( | bool | Enabled | ) |
Active ou désactive la console.
| Enabled | : Active / inactive |
Definition at line 170 of file KeosConsole.cpp.
1.5.1-p1