選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

18 行
452 B

  1. #pragma once
  2. #include <algorithm>
  3. #include <vector>
  4. #include <unordered_map>
  5. class LuaUtility
  6. {
  7. public:
  8. LuaUtility();
  9. static bool IsKeyPressed(std::string keyName);
  10. static bool IsKeyPressed(std::string keyName, std::string keyName2);
  11. static bool IsKeyPressed(std::string keyName, std::string keyName2, std::string keyName3);
  12. static bool ContainsKey(std::string keyName);
  13. private:
  14. static std::unordered_map<std::string, uint8_t> GetKeyMap();
  15. };