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

Method btnMapDownClick

src/Battlescape/BattlescapeState.cpp:838–842  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

836 * @param action Pointer to an action.
837 */
838void BattlescapeState::btnMapDownClick(Action *)
839{
840 if(_save->getSide() == FACTION_PLAYER || _save->getDebugMode())
841 _map->getCamera()->down();
842}
843
844/**
845 * Shows the minimap.

Callers

nothing calls this directly

Calls 4

getSideMethod · 0.80
getCameraMethod · 0.80
getDebugModeMethod · 0.45
downMethod · 0.45

Tested by

no test coverage detected