diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-11-15 23:06:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-11-15 23:06:46 +0300 |
commit | f03bacd61c383ff642694489e0e39c43d5dd893a (patch) | |
tree | 57d2680913efe6b76e604ba384ade6a05adfec16 /src/game.h | |
parent | 8149254fa9a1f85d7a91c76250dfb7e5ce67d453 (diff) | |
download | mv-f03bacd61c383ff642694489e0e39c43d5dd893a.tar.gz mv-f03bacd61c383ff642694489e0e39c43d5dd893a.tar.bz2 mv-f03bacd61c383ff642694489e0e39c43d5dd893a.tar.xz mv-f03bacd61c383ff642694489e0e39c43d5dd893a.zip |
Split Game::handleInput to small functions.
Diffstat (limited to 'src/game.h')
-rw-r--r-- | src/game.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/game.h b/src/game.h index 2205e30de..4e5337d29 100644 --- a/src/game.h +++ b/src/game.h @@ -78,6 +78,14 @@ class Game void handleInput(); + bool handleOutfitsKeys(SDL_Event &event, bool &used); + + bool handleSwitchKeys(SDL_Event &event, bool &used); + + void handleMoveAndAttack(SDL_Event &event, bool wasDown); + + void handleActive(SDL_Event &event); + void changeMap(const std::string &mapName); /** |