Changeset 5863 for code/branches/core5/src/orxonox/gamestates/GSMainMenu.cc
- Timestamp:
- Oct 3, 2009, 5:33:31 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core5/src/orxonox/gamestates/GSMainMenu.cc
r5855 r5863 34 34 #include "core/input/InputManager.h" 35 35 #include "core/input/InputState.h" 36 #include "core/input/KeyBinderManager.h" 36 37 #include "core/Game.h" 37 38 #include "core/ConsoleCommand.h" … … 51 52 inputState_ = InputManager::getInstance().createInputState("mainMenu"); 52 53 inputState_->setHandler(GUIManager::getInstancePtr()); 54 inputState_->setKeyHandler(KeyBinderManager::getInstance().getDefaultAsHandler()); 53 55 inputState_->setJoyStickHandler(&InputHandler::EMPTY); 54 56 inputState_->setIsExclusiveMouse(false); … … 86 88 CommandExecutor::addConsoleCommandShortcut(this->ccStartMainMenu_); 87 89 90 KeyBinderManager::getInstance().setToDefault(); 88 91 InputManager::getInstance().enterState("mainMenu"); 89 92
Note: See TracChangeset
for help on using the changeset viewer.