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

Method getArmor

src/Savegame/BattleUnit.cpp:1382–1385  ·  view source on GitHub ↗

* Get the armor value of a certain armor side. * @param side The side of the armor. * @return Amount of armor. */

Source from the content-addressed store, hash-verified

1380 * @return Amount of armor.
1381 */
1382int BattleUnit::getArmor(UnitSide side) const
1383{
1384 return _currentArmor[side];
1385}
1386
1387/**
1388 * Get total amount of fatal wounds this unit has.

Callers 1

BattleUnitMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected