diff options
Diffstat (limited to 'src/crepe/system/InputSystem.h')
-rw-r--r-- | src/crepe/system/InputSystem.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/crepe/system/InputSystem.h b/src/crepe/system/InputSystem.h index 642035f..c50d928 100644 --- a/src/crepe/system/InputSystem.h +++ b/src/crepe/system/InputSystem.h @@ -1,14 +1,18 @@ #pragma once #include "System.h" - +#include "../api/Event.h" namespace crepe { class InputSystem : public System { public: using System::System; + InputSystem(ComponentManager & component_manager); void update() override; - void + bool handle_click(const MouseClickEvent &event); + bool handle_move(const MouseMoveEvent &event); + bool handle_key_press(const KeyPressEvent &event); + bool handle_key_release(const KeyReleaseEvent &event); }; } // namespace crepe |