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

Method getWeapon

bwapi/BWAPILIB/Source/TechType.cpp:252–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

250 return techInternalResearches::whatResearches[this->getID()];
251 }
252 WeaponType TechType::getWeapon() const
253 {
254 return techInternalWeapons::techWeapons[this->getID()];
255 }
256 bool TechType::targetsUnit() const
257 {
258 return !!(techTypeFlags[this->getID()] & TARG_UNIT);

Callers 1

writeTechInfoFunction · 0.80

Calls 1

getIDMethod · 0.45

Tested by

no test coverage detected