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

Method isFloating

src/Savegame/BattleUnit.cpp:767–770  ·  view source on GitHub ↗

* Is floating? A unit is floating when there is no ground under him/her. * @return true/false */

Source from the content-addressed store, hash-verified

765 * @return true/false
766 */
767bool BattleUnit::isFloating() const
768{
769 return _floating;
770}
771
772/**
773 * Aim. (shows the right hand sprite and weapon holding)

Callers 2

drawRoutine0Method · 0.80
kneelMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected