MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / popupExit

Method popupExit

source/modes/GameMode.cpp:1127–1138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1125}
1126
1127void 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
1140void GameMode::notifyGuiAction(GuiAction guiAction)
1141{

Callers

nothing calls this directly

Calls 3

showMethod · 0.80
hideMethod · 0.80
setGamePausedMethod · 0.80

Tested by

no test coverage detected