From 7ebb0e91f63203753420b5a4b75d09d170f204f4 Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Tue, 5 Oct 2010 08:34:46 +0200 Subject: Added wriggle/input. --- input.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 input.h (limited to 'input.h') 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 + +namespace Key { + using namespace sf::Key; +} + +class Input { + public: + static bool key_pressed(Key::Code key); +}; + +#endif -- cgit v1.2.3