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

Method getTimeUnits

src/Savegame/BattleUnit.cpp:840–843  ·  view source on GitHub ↗

* Returns the soldier's amount of time units. * @return Time units. */

Source from the content-addressed store, hash-verified

838 * @return Time units.
839 */
840int BattleUnit::getTimeUnits() const
841{
842 return _tu;
843}
844
845/**
846 * Returns the soldier's amount of energy.

Callers 15

openDoorMethod · 0.80
thinkMethod · 0.80
selectNearestTargetMethod · 0.80
evaluateAIModeMethod · 0.80
findFirePointMethod · 0.80
meleeActionMethod · 0.80
wayPointActionMethod · 0.80
selectFireMethodMethod · 0.80
psiActionMethod · 0.80
updateStatsMethod · 0.80
initMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected