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

Method isLivingWeapon

src/Ruleset/Unit.cpp:237–240  ·  view source on GitHub ↗

* Checks if this unit is a living weapon. (ie: chryssalid). * @return True if this unit is a living weapon. */

Source from the content-addressed store, hash-verified

235 * @return True if this unit is a living weapon.
236 */
237bool Unit::isLivingWeapon() const
238{
239 return _livingWeapon;
240}
241
242
243int Unit::getEnergyRecovery() const

Callers 1

deployAliensMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected