diff options
author | TravisBot <> | 2017-09-21 23:52:57 +0000 |
---|---|---|
committer | TravisBot <> | 2017-09-21 23:52:57 +0000 |
commit | 43d8d9b5de8f269643c380d8d6c6c65d9224ad4a (patch) | |
tree | b8a9546cb663081e4587f812fa49a228be9978e5 /yage/base/inputmanager.h | |
parent | ad666428488d3c800ca18d877dad803bf18b8168 (diff) | |
download | YAGE-43d8d9b5de8f269643c380d8d6c6c65d9224ad4a.tar.gz YAGE-43d8d9b5de8f269643c380d8d6c6c65d9224ad4a.zip |
Rebuilding documentation
Diffstat (limited to 'yage/base/inputmanager.h')
-rw-r--r-- | yage/base/inputmanager.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/yage/base/inputmanager.h b/yage/base/inputmanager.h deleted file mode 100644 index 84728fff..00000000 --- a/yage/base/inputmanager.h +++ /dev/null @@ -1,28 +0,0 @@ -/* ---------------------------------------------------------------------------- - * inputmanager.h - * - * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License - * See file LICENSE for more details - * ---------------------------------------------------------------------------- - */ - -#ifndef INPUT_MANAGER_H -#define INPUT_MANAGER_H - -#include <unordered_map> - -namespace yage -{ - -class InputManager -{ -private: - std::unordered_map<unsigned, bool> key_map_; - -public: - void keyPressed(unsigned key); - void keyReleased(unsigned key); - bool isKeyPressed(unsigned key) const; -}; -} // namespace yage -#endif |