MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / btnOkClick

Method btnOkClick

src/Geoscape/AlienBaseState.cpp:124–129  ·  view source on GitHub ↗

* Returns to the previous screen. * @param action Pointer to an action. */

Source from the content-addressed store, hash-verified

122 * @param action Pointer to an action.
123 */
124void AlienBaseState::btnOkClick(Action *)
125{
126 _state->timerReset();
127 _state->getGlobe()->center(_base->getLongitude(), _base->getLatitude());
128 _game->popState();
129}
130
131}

Callers

nothing calls this directly

Calls 6

timerResetMethod · 0.80
centerMethod · 0.80
getGlobeMethod · 0.80
getLongitudeMethod · 0.45
getLatitudeMethod · 0.45
popStateMethod · 0.45

Tested by

no test coverage detected