OpenRaider  0.1.4-dev
Open Source Tomb Raider Game Engine implementation
CommandBind.h
Go to the documentation of this file.
1 
8 #ifndef _COMMAND_BIND_H_
9 #define _COMMAND_BIND_H_
10 
11 #include "commands/Command.h"
12 
13 class CommandBind : public Command {
14  public:
15  virtual std::string name();
16  virtual std::string brief();
17  virtual void printHelp();
18  virtual int execute(std::istream& args);
19 
20  private:
21  ActionEvents stringToActionEvent(std::string action);
22  KeyboardButton stringToKeyboardButton(std::string key);
23 };
24 
25 #endif
26 
virtual int execute(std::istream &args)
Definition: CommandBind.cpp:41
KeyboardButton stringToKeyboardButton(std::string key)
Definition: CommandBind.cpp:94
virtual void printHelp()
Definition: CommandBind.cpp:21
virtual std::string name()
Definition: CommandBind.cpp:13
virtual std::string brief()
Definition: CommandBind.cpp:17
Commands.
KeyboardButton
Definition: global.h:34
ActionEvents stringToActionEvent(std::string action)
Definition: CommandBind.cpp:64
ActionEvents
Definition: global.h:15