summaryrefslogtreecommitdiff
path: root/input.h
diff options
context:
space:
mode:
Diffstat (limited to 'input.h')
-rw-r--r--input.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/input.h b/input.h
new file mode 100644
index 0000000..854b2c0
--- /dev/null
+++ b/input.h
@@ -0,0 +1,15 @@
+#ifndef INPUT_H
+#define INPUT_H
+
+#include <SFML/Window/Input.hpp>
+
+namespace Key {
+ using namespace sf::Key;
+}
+
+class Input {
+ public:
+ static bool key_pressed(Key::Code key);
+};
+
+#endif