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

Method targetsUnit

bwapi/BWAPILIB/Source/TechType.cpp:256–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254 return techInternalWeapons::techWeapons[this->getID()];
255 }
256 bool TechType::targetsUnit() const
257 {
258 return !!(techTypeFlags[this->getID()] & TARG_UNIT);
259 }
260 bool TechType::targetsPosition() const
261 {
262 return !!(techTypeFlags[this->getID()] & TARG_POS);

Callers 4

canUseTechWithoutTargetFunction · 0.80
canUseTechUnitFunction · 0.80
writeTechInfoFunction · 0.80
executeMethod · 0.80

Calls 1

getIDMethod · 0.45

Tested by

no test coverage detected