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

Method getEnergy

src/Savegame/BattleUnit.cpp:849–852  ·  view source on GitHub ↗

* Returns the soldier's amount of energy. * @return Energy. */

Source from the content-addressed store, hash-verified

847 * @return Energy.
848 */
849int BattleUnit::getEnergy() const
850{
851 return _energy;
852}
853
854/**
855 * Returns the soldier's amount of health.

Callers 5

thinkMethod · 0.80
previewPathMethod · 0.80
findReachableMethod · 0.80
updateSoldierInfoMethod · 0.80
initMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected