| 1125 | } |
| 1126 | |
| 1127 | void GameMode::popupExit(bool pause) |
| 1128 | { |
| 1129 | if(pause) |
| 1130 | { |
| 1131 | mRootWindow->getChild(Gui::EXIT_CONFIRMATION_POPUP)->show(); |
| 1132 | } |
| 1133 | else |
| 1134 | { |
| 1135 | mRootWindow->getChild(Gui::EXIT_CONFIRMATION_POPUP)->hide(); |
| 1136 | } |
| 1137 | mGameMap->setGamePaused(pause); |
| 1138 | } |
| 1139 | |
| 1140 | void GameMode::notifyGuiAction(GuiAction guiAction) |
| 1141 | { |
nothing calls this directly
no test coverage detected