From f03bacd61c383ff642694489e0e39c43d5dd893a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 15 Nov 2011 23:06:46 +0300 Subject: Split Game::handleInput to small functions. --- src/game.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/game.h') 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); /** -- cgit v1.2.3-60-g2f50