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

Method getViewLevel

src/Battlescape/Camera.cpp:510–513  ·  view source on GitHub ↗

* Gets the displayed level. * @return The displayed layer. */

Source from the content-addressed store, hash-verified

508 * @return The displayed layer.
509 */
510int Camera::getViewLevel() const
511{
512 return _mapOffset.z;
513}
514
515/**
516 * Gets the map size x.

Callers 7

drawTerrainMethod · 0.80
getSelectorPositionMethod · 0.80
upMethod · 0.80
downMethod · 0.80
mouseClickMethod · 0.80
mouseOverMethod · 0.80
MiniMapStateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected