Open Source Tomb Raider Engine
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

CommandBind.h 516B

1234567891011121314151617181920212223242526
  1. /*!
  2. * \file include/commands/CommandBind.h
  3. * \brief Bind Command interface
  4. *
  5. * \author xythobuz
  6. */
  7. #ifndef _COMMAND_BIND_H_
  8. #define _COMMAND_BIND_H_
  9. #include "commands/Command.h"
  10. class CommandBind : public Command {
  11. public:
  12. virtual std::string name();
  13. virtual std::string brief();
  14. virtual void printHelp();
  15. virtual int execute(std::istream& args);
  16. private:
  17. ActionEvents stringToActionEvent(std::string action);
  18. KeyboardButton stringToKeyboardButton(std::string key);
  19. };
  20. #endif