diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-10-05 08:34:46 +0200 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-10-05 08:34:46 +0200 |
commit | 7ebb0e91f63203753420b5a4b75d09d170f204f4 (patch) | |
tree | 7acc39bcbb3970e9112834c6082581e882517c87 /input.h | |
parent | f88411abc7150ed209efcb6180503f0c6f7c8ef6 (diff) |
Added wriggle/input.
Diffstat (limited to 'input.h')
-rw-r--r-- | input.h | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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 |