Open Source Tomb Raider Engine
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CommandBind.h 512B

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