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

Method up

src/Battlescape/MiniMapView.cpp:158–163  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

156 * @return New display level.
157 */
158int MiniMapView::up()
159{
160 _camera->setViewLevel(_camera->getViewLevel()+1);
161 _redraw = true;
162 return _camera->getViewLevel();
163}
164
165/**
166 * Decrements the displayed level.

Callers

nothing calls this directly

Calls 2

setViewLevelMethod · 0.80
getViewLevelMethod · 0.80

Tested by

no test coverage detected