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

Method getKneelHeight

src/Savegame/BattleUnit.cpp:2163–2166  ·  view source on GitHub ↗

* Get the unit's kneel height. * @return The unit's height in voxels, when kneeling. */

Source from the content-addressed store, hash-verified

2161 * @return The unit's height in voxels, when kneeling.
2162 */
2163int BattleUnit::getKneelHeight() const
2164{
2165 return _kneelHeight;
2166}
2167
2168/**
2169 * Get the unit's floating elevation.

Callers 1

BattleUnitMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected