summaryrefslogtreecommitdiff
path: root/gfx/inputHandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/inputHandler.h')
-rw-r--r--gfx/inputHandler.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/gfx/inputHandler.h b/gfx/inputHandler.h
new file mode 100644
index 0000000..5b426c7
--- /dev/null
+++ b/gfx/inputHandler.h
@@ -0,0 +1,18 @@
+#ifndef INPUT_HANDLER_H
+#define INPUT_HANDLER_H
+
+#include <special_members.hpp>
+
+union SDL_Event;
+
+class InputHandler {
+public:
+ InputHandler() = default;
+ virtual ~InputHandler() = default;
+
+ DEFAULT_MOVE_COPY(InputHandler);
+
+ virtual bool handleInput(SDL_Event &) = 0;
+};
+
+#endif