From d7364eb89f81fa770bc3658a93917412baa020df Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Thu, 24 Aug 2017 00:24:58 +0100 Subject: Updating docs --- inputmanager_8hpp_source.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'inputmanager_8hpp_source.html') diff --git a/inputmanager_8hpp_source.html b/inputmanager_8hpp_source.html index 4fefffb0..99b34dc6 100644 --- a/inputmanager_8hpp_source.html +++ b/inputmanager_8hpp_source.html @@ -85,11 +85,11 @@ $(document).ready(function(){initNavTree('inputmanager_8hpp_source.html','');});
inputmanager.hpp
-Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * inputmanager.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef INPUT_MANAGER_HPP
10 #define INPUT_MANAGER_HPP
11 
12 #include <unordered_map>
13 
14 namespace yage
15 {
16 
18 {
19 private:
20  std::unordered_map<unsigned, bool> key_map_;
21 
22 public:
23  void keyPressed(unsigned key);
24  void keyReleased(unsigned key);
25  bool isKeyPressed(unsigned key) const;
26 };
27 
28 }
29 #endif
void keyReleased(unsigned key)
Definition: inputmanager.cpp:15
+Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * inputmanager.hpp
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5  * See file LICENSE for more details
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef INPUT_MANAGER_HPP
10 #define INPUT_MANAGER_HPP
11 
12 #include <unordered_map>
13 
14 namespace yage
15 {
16 
18 {
19 private:
20  std::unordered_map<unsigned, bool> key_map_;
21 
22 public:
23  void keyPressed(unsigned key);
24  void keyReleased(unsigned key);
25  bool isKeyPressed(unsigned key) const;
26 };
27 }
28 #endif
void keyReleased(unsigned key)
Definition: inputmanager.cpp:16
Definition: inputmanager.hpp:17
-
void keyPressed(unsigned key)
Definition: inputmanager.cpp:13
+
void keyPressed(unsigned key)
Definition: inputmanager.cpp:14
std::unordered_map< unsigned, bool > key_map_
Definition: inputmanager.hpp:20
-
bool isKeyPressed(unsigned key) const
Definition: inputmanager.cpp:17
+
bool isKeyPressed(unsigned key) const
Definition: inputmanager.cpp:18
Templated matrix class.
Definition: camera2d.hpp:17
@@ -97,7 +97,7 @@ $(document).ready(function(){initNavTree('inputmanager_8hpp_source.html','');});