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

Method setFuseTimer

src/Savegame/BattleItem.cpp:164–167  ·  view source on GitHub ↗

* Sets the turn to explode on. * @param turns Turns until detonation (player/alien turns, not game turns). */

Source from the content-addressed store, hash-verified

162 * @param turns Turns until detonation (player/alien turns, not game turns).
163 */
164void BattleItem::setFuseTimer(int turns)
165{
166 _fuseTimer = turns;
167}
168
169/**
170 * Gets the quantity of ammo in this item.

Callers 7

placeItemByLayoutMethod · 0.80
createNewProjectileMethod · 0.80
btnClickMethod · 0.80
endTurnMethod · 0.80
handleNonTargetActionMethod · 0.80
handlePanickingUnitMethod · 0.80
mouseClickMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected