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

Method targetsNonBuilding

bwapi/BWAPILIB/Source/WeaponType.cpp:593–596  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

591 return !!(wpnFlags[this->getID()] & TARG_ORGANIC);
592 }
593 bool WeaponType::targetsNonBuilding() const
594 {
595 return !!(wpnFlags[this->getID()] & TARG_NOBUILD);
596 }
597 bool WeaponType::targetsNonRobotic() const
598 {
599 return !!(wpnFlags[this->getID()] & TARG_NOROBOT);

Callers 2

WeaponCanHitFunction · 0.80
getUnitsInWeaponRangeMethod · 0.80

Calls 1

getIDMethod · 0.45

Tested by

no test coverage detected