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

Method getSize

src/Ruleset/Armor.cpp:202–205  ·  view source on GitHub ↗

* Gets the size of the unit. Normally this is 1 (small) or 2 (big). * @return The unit's size. */

Source from the content-addressed store, hash-verified

200 * @return The unit's size.
201 */
202int Armor::getSize() const
203{
204 return _size;
205}
206
207/**
208 * Gets the damage modifier for a certain damage type.

Callers 15

placeItemByLayoutMethod · 0.45
generateMapMethod · 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
cacheUnitMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected