Changeset 6048 for code/branches/menu/src/orxonox/gamestates/GSLevel.cc
- Timestamp:
- Nov 12, 2009, 11:32:41 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/menu/src/orxonox/gamestates/GSLevel.cc
r6024 r6048 56 56 , guiKeysOnlyInputState_(0) 57 57 , startFile_(0) 58 , bShowIngameGUI_(false) 58 59 { 59 60 } … … 78 79 guiKeysOnlyInputState_ = InputManager::getInstance().createInputState("guiKeysOnly"); 79 80 guiKeysOnlyInputState_->setKeyHandler(GUIManager::getInstancePtr()); 80 81 CommandExecutor::addConsoleCommandShortcut(createConsoleCommand(createFunctor(&GSLevel::showIngameGUI, this), "showIngameGUI"));82 81 } 83 82 … … 94 93 // connect the HumanPlayer to the game 95 94 PlayerManager::getInstance().clientConnected(0); 96 }97 }98 99 void GSLevel::showIngameGUI(bool show)100 {101 if (show)102 {103 GUIManager::showGUI("inGameTest");104 }105 else106 {107 GUIManager::hideGUI("inGameTest");108 95 } 109 96 }
Note: See TracChangeset
for help on using the changeset viewer.