summaryrefslogtreecommitdiff
path: root/input.h
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2010-10-05 08:34:46 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2010-10-05 08:34:46 +0200
commit7ebb0e91f63203753420b5a4b75d09d170f204f4 (patch)
tree7acc39bcbb3970e9112834c6082581e882517c87 /input.h
parentf88411abc7150ed209efcb6180503f0c6f7c8ef6 (diff)
Added wriggle/input.
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