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

Method getArmor

src/Ruleset/Unit.cpp:138–141  ·  view source on GitHub ↗

* Gets the unit's armor type. * @return The unit's armor type. */

Source from the content-addressed store, hash-verified

136 * @return The unit's armor type.
137 */
138std::string Unit::getArmor() const
139{
140 return _armor;
141}
142
143/**
144 * Gets the alien's race.

Callers 15

addXCOMVehicleMethod · 0.45
addAlienMethod · 0.45
addCivilianMethod · 0.45
placeItemByLayoutMethod · 0.45
placeUnitNearFriendMethod · 0.45
thinkMethod · 0.45
setupPatrolMethod · 0.45
selectPointNearTargetMethod · 0.45
psiActionMethod · 0.45
meleeAttackMethod · 0.45
drawTerrainMethod · 0.45
animateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected