aboutsummaryrefslogtreecommitdiff
path: root/mwe/events/include/inputSystem.h
diff options
context:
space:
mode:
Diffstat (limited to 'mwe/events/include/inputSystem.h')
-rw-r--r--mwe/events/include/inputSystem.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/mwe/events/include/inputSystem.h b/mwe/events/include/inputSystem.h
new file mode 100644
index 0000000..06db74c
--- /dev/null
+++ b/mwe/events/include/inputSystem.h
@@ -0,0 +1,16 @@
+#pragma once
+#include <vector>
+#include "uiObject.h"
+#include "event.h"
+#include "keyCodes.h"
+#include "eventManager.h"
+class InputSystem {
+public:
+ InputSystem();
+ void registerButton(Button* button);
+ void processInput();
+
+private:
+ std::vector<Button*> buttons;
+ void processMouseClick(int mouseX, int mouseY);
+};