summaryrefslogtreecommitdiff
path: root/src/inputmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-04-03 23:09:23 +0300
committerAndrei Karas <akaras@inbox.ru>2012-04-03 23:09:23 +0300
commit933791ef82d6a4566b15c25cf1db2762f4716a87 (patch)
treef603318581518a2a49d868c75282988d52e6058d /src/inputmanager.h
parente848a47b6ceb86cb2a40d094d608b791aff674e6 (diff)
downloadManaVerse-933791ef82d6a4566b15c25cf1db2762f4716a87.tar.gz
ManaVerse-933791ef82d6a4566b15c25cf1db2762f4716a87.tar.bz2
ManaVerse-933791ef82d6a4566b15c25cf1db2762f4716a87.tar.xz
ManaVerse-933791ef82d6a4566b15c25cf1db2762f4716a87.zip
Move some input handling code from game to inputmanager.
Diffstat (limited to 'src/inputmanager.h')
-rw-r--r--src/inputmanager.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/inputmanager.h b/src/inputmanager.h
index 3276e979b..7a6ac6d05 100644
--- a/src/inputmanager.h
+++ b/src/inputmanager.h
@@ -50,7 +50,9 @@ class InputManager
public:
InputManager();
- bool handleKeyEvent(SDL_Event &event);
+ bool handleEvent(const SDL_Event &event);
+
+ bool handleKeyEvent(const SDL_Event &event);
int getInputConditionMask();