MCPcopy Create free account
hub / github.com/bwapi/bwapi / armorUpgrade

Method armorUpgrade

bwapi/BWAPILIB/Source/UnitType.cpp:2210–2213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2208 return unitUpgrades::upgrades[this->getID()];
2209 }
2210 UpgradeType UnitType::armorUpgrade() const
2211 {
2212 return unitArmorUpgrades::armorUpgrade[this->getID()];
2213 }
2214 int UnitType::maxHitPoints() const
2215 {
2216 return defaultMaxHP[this->getID()];

Callers 3

writeUnitInfoFunction · 0.80
Filters.cppFile · 0.80
armorMethod · 0.80

Calls 1

getIDMethod · 0.45

Tested by

no test coverage detected