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

Method setSecondsRemaining

src/Savegame/Ufo.cpp:337–340  ·  view source on GitHub ↗

* Changes the amount of remaining seconds the UFO has left on the ground. * After this many seconds thet UFO will take off, if landed, or disappear, if * crashed. * @param seconds Amount of seconds. */

Source from the content-addressed store, hash-verified

335 * @param seconds Amount of seconds.
336 */
337void Ufo::setSecondsRemaining(size_t seconds)
338{
339 _secondsRemaining = seconds;
340}
341
342/**
343 * Returns the current direction the UFO is heading in.

Callers 6

spawnUfoMethod · 0.45
ufoReachedWaypointMethod · 0.45
prepareDebriefingMethod · 0.45
processTerrorSiteMethod · 0.45
operator()Method · 0.45
moveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected