diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-12-23 01:42:15 +0000 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-12-23 01:42:15 +0000 |
commit | cf4c73f2a75b470a4d4c4167105f92bc46f1926c (patch) | |
tree | a697de87564846e784fd1256d71c94270d8ec51d /yage/core/inputmanager.h | |
parent | 278757a11e50e94e234f339d9d072a0d837dcb06 (diff) | |
parent | ddd26ed83d3ac0335562f762ced273a1d62bd959 (diff) | |
download | YAGE-cf4c73f2a75b470a4d4c4167105f92bc46f1926c.tar.gz YAGE-cf4c73f2a75b470a4d4c4167105f92bc46f1926c.zip |
Merge branch 'develop'v0.1.3
Diffstat (limited to 'yage/core/inputmanager.h')
-rw-r--r-- | yage/core/inputmanager.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/yage/core/inputmanager.h b/yage/core/inputmanager.h deleted file mode 100644 index e8dd153a..00000000 --- a/yage/core/inputmanager.h +++ /dev/null @@ -1,30 +0,0 @@ -/** --------------------------------------------------------------------------- - * @file: inputmanager.h - * - * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> - * MIT License, see LICENSE file 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 |