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

Method getDamage

src/Savegame/Ufo.cpp:276–279  ·  view source on GitHub ↗

* Returns the amount of damage this UFO has taken. * @return Amount of damage. */

Source from the content-addressed store, hash-verified

274 * @return Amount of damage.
275 */
276int Ufo::getDamage() const
277{
278 return _damage;
279}
280
281/**
282 * Changes the amount of damage this UFO has taken.

Callers 5

fireMethod · 0.45
initMethod · 0.45
nextStepMethod · 0.45
moveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected