diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-12-23 01:37:09 +0000 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-12-23 01:40:47 +0000 |
commit | ddd26ed83d3ac0335562f762ced273a1d62bd959 (patch) | |
tree | a697de87564846e784fd1256d71c94270d8ec51d /yage/core/inputmanager.h | |
parent | 0ac42fb77773e15b13f1ede01dd1efd920a8fb9b (diff) | |
download | YAGE-ddd26ed83d3ac0335562f762ced273a1d62bd959.tar.gz YAGE-ddd26ed83d3ac0335562f762ced273a1d62bd959.zip |
[Style] Updated style in files.
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 |