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

Method setArmor

src/Ruleset/MapData.cpp:404–407  ·  view source on GitHub ↗

* Sets the amount of armor. * @param value The amount of armor. */

Source from the content-addressed store, hash-verified

402 * @param value The amount of armor.
403 */
404void MapData::setArmor(int value)
405{
406 _armor = value;
407}
408
409/**
410 * Gets the amount of flammable (how flammable this object is).

Callers 3

lstArmorClickMethod · 0.45
modifyDataMethod · 0.45
loadDataMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected