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

Method setTimeUnits

src/Savegame/BattleUnit.cpp:1194–1197  ·  view source on GitHub ↗

* Set a specific number of timeunits. * @param tu */

Source from the content-addressed store, hash-verified

1192 * @param tu
1193 */
1194void BattleUnit::setTimeUnits(int tu)
1195{
1196 _tu = tu;
1197}
1198
1199/**
1200 * Add this unit to the list of visible units. Returns true if this is a new one.

Callers 9

thinkMethod · 0.80
initMethod · 0.80
postPathProceduresMethod · 0.80
handlePanickingUnitMethod · 0.80
convertUnitMethod · 0.80
onHealClickMethod · 0.80
onStimulantClickMethod · 0.80
btnZeroTUsClickMethod · 0.80
psiAttackMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected