diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-04-03 23:09:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-04-03 23:09:23 +0300 |
commit | 933791ef82d6a4566b15c25cf1db2762f4716a87 (patch) | |
tree | f603318581518a2a49d868c75282988d52e6058d /src/inputmanager.h | |
parent | e848a47b6ceb86cb2a40d094d608b791aff674e6 (diff) | |
download | mv-933791ef82d6a4566b15c25cf1db2762f4716a87.tar.gz mv-933791ef82d6a4566b15c25cf1db2762f4716a87.tar.bz2 mv-933791ef82d6a4566b15c25cf1db2762f4716a87.tar.xz mv-933791ef82d6a4566b15c25cf1db2762f4716a87.zip |
Move some input handling code from game to inputmanager.
Diffstat (limited to 'src/inputmanager.h')
-rw-r--r-- | src/inputmanager.h | 4 |
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(); |