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

Method setDetected

src/Savegame/Ufo.cpp:315–318  ·  view source on GitHub ↗

* Changes whether this UFO has been detected by radars. * @param detected Detection status. */

Source from the content-addressed store, hash-verified

313 * @param detected Detection status.
314 */
315void Ufo::setDetected(bool detected)
316{
317 _detected = detected;
318}
319
320/**
321 * Returns the amount of remaining seconds the UFO has left on the ground.

Callers 4

ufoReachedWaypointMethod · 0.80
ufoLiftingMethod · 0.80
time5SecondsMethod · 0.80
time30MinutesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected