|
- #pragma once
- #include <algorithm>
- #include <vector>
- #include <unordered_map>
-
- class LuaUtility
- {
- public:
-
- LuaUtility();
- static bool IsKeyPressed(std::string keyName);
- static bool IsKeyPressed(std::string keyName, std::string keyName2);
- static bool IsKeyPressed(std::string keyName, std::string keyName2, std::string keyName3);
- static bool ContainsKey(std::string keyName);
-
- private:
- static std::unordered_map<std::string, uint8_t> GetKeyMap();
- };
|