summaryrefslogtreecommitdiff
path: root/src/input/inputmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-17 22:11:37 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-17 22:11:37 +0300
commita01c8632961792ba92a5c0bda8308d1260444b41 (patch)
treeec31890d3ff8c9f0b9ef94b3e96216b5bd07728f /src/input/inputmanager.h
parent5c9a571bcfe1a1a3e007fc53cca9c4ebd0be68a5 (diff)
downloadManaVerse-a01c8632961792ba92a5c0bda8308d1260444b41.tar.gz
ManaVerse-a01c8632961792ba92a5c0bda8308d1260444b41.tar.bz2
ManaVerse-a01c8632961792ba92a5c0bda8308d1260444b41.tar.xz
ManaVerse-a01c8632961792ba92a5c0bda8308d1260444b41.zip
Rename KeyFunction into InputFunction.
Diffstat (limited to 'src/input/inputmanager.h')
-rw-r--r--src/input/inputmanager.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/input/inputmanager.h b/src/input/inputmanager.h
index 11db43402..02bc0315b 100644
--- a/src/input/inputmanager.h
+++ b/src/input/inputmanager.h
@@ -22,7 +22,7 @@
#define INPUT_INPUTMANAGER_H
#include "input/inputaction.h"
-#include "input/keyfunction.h"
+#include "input/inputfunction.h"
#include "events/inputevent.h"
@@ -61,7 +61,7 @@ class InputManager final
void callbackNewKey();
- KeyFunction &getKey(int index) A_WARN_UNUSED;
+ InputFunction &getKey(int index) A_WARN_UNUSED;
std::string getKeyValueString(const int index) const A_WARN_UNUSED;
@@ -131,7 +131,7 @@ class InputManager final
std::map<std::string, int> mNameMap;
- KeyFunction mKey[InputAction::TOTAL];
+ InputFunction mKey[InputAction::TOTAL];
};
extern InputManager inputManager;