diff options
Diffstat (limited to 'engine/xe_input.hpp')
-rw-r--r-- | engine/xe_input.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engine/xe_input.hpp b/engine/xe_input.hpp index 4465b4e..7b6a0af 100644 --- a/engine/xe_input.hpp +++ b/engine/xe_input.hpp @@ -9,7 +9,7 @@ namespace xe { -class XeInput { +class Input { public: @@ -19,14 +19,14 @@ class XeInput { private: - XeInput(XeWindow& window); - ~XeInput() {}; + Input(Window& window); + ~Input() {}; void setIsKeyDown(int key, bool isDown); std::map<int, bool> _pressed; std::map<int, bool> _released; - XeWindow &window; + Window &window; static void key_callback( GLFWwindow* window, int key, int scancode, int action, int mods); @@ -34,7 +34,7 @@ class XeInput { static void mouse_callback( GLFWwindow* window, int key, int action, int mods); - friend class XeEngine; + friend class Engine; }; } |