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

Method btnMapUpClick

src/Battlescape/BattlescapeState.cpp:828–832  ·  view source on GitHub ↗

* Shows the next map layer. * @param action Pointer to an action. */

Source from the content-addressed store, hash-verified

826 * @param action Pointer to an action.
827 */
828void BattlescapeState::btnMapUpClick(Action *)
829{
830 if(_save->getSide() == FACTION_PLAYER || _save->getDebugMode())
831 _map->getCamera()->up();
832}
833
834/**
835 * Shows the previous map layer.

Callers

nothing calls this directly

Calls 4

getSideMethod · 0.80
getCameraMethod · 0.80
getDebugModeMethod · 0.45
upMethod · 0.45

Tested by

no test coverage detected