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

Method down

src/Battlescape/MiniMapView.cpp:169–174  ·  view source on GitHub ↗

* Decrements the displayed level. * @return New display level. */

Source from the content-addressed store, hash-verified

167 * @return New display level.
168 */
169int MiniMapView::down()
170{
171 _camera->setViewLevel(_camera->getViewLevel()-1);
172 _redraw = true;
173 return _camera->getViewLevel();
174}
175
176/**
177 * Handles mouse presses on the minimap. Enters mouse-moving mode when the right button is used.

Callers

nothing calls this directly

Calls 2

setViewLevelMethod · 0.80
getViewLevelMethod · 0.80

Tested by

no test coverage detected