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

Method getFloatHeight

src/Savegame/BattleUnit.cpp:2172–2175  ·  view source on GitHub ↗

* Get the unit's floating elevation. * @return The unit's elevation over the ground in voxels, when flying. */

Source from the content-addressed store, hash-verified

2170 * @return The unit's elevation over the ground in voxels, when flying.
2171 */
2172int BattleUnit::getFloatHeight() const
2173{
2174 return _floatHeight;
2175}
2176
2177/**
2178 * Get the unit's loft ID, one per unit tile.

Callers 1

BattleUnitMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected