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

Method getFuseTimer

src/Savegame/BattleItem.cpp:155–158  ·  view source on GitHub ↗

* Gets the turns until detonation. -1 = unprimed grenade * @return turns until detonation. */

Source from the content-addressed store, hash-verified

153 * @return turns until detonation.
154 */
155int BattleItem::getFuseTimer() const
156{
157 return _fuseTimer;
158}
159
160/**
161 * Sets the turn to explode on.

Callers 9

ActionMenuStateMethod · 0.45
placeItemByLayoutMethod · 0.45
saveEquipmentLayoutMethod · 0.45
thinkMethod · 0.45
endTurnMethod · 0.45
handlePanickingUnitMethod · 0.45
mouseClickMethod · 0.45
canBeStackedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected