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

Method targetsOrganic

bwapi/BWAPILIB/Source/WeaponType.cpp:589–592  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

587 return !!(wpnFlags[this->getID()] & TARG_MECH);
588 }
589 bool WeaponType::targetsOrganic() const
590 {
591 return !!(wpnFlags[this->getID()] & TARG_ORGANIC);
592 }
593 bool WeaponType::targetsNonBuilding() const
594 {
595 return !!(wpnFlags[this->getID()] & TARG_NOBUILD);

Callers 2

WeaponCanHitFunction · 0.80
getUnitsInWeaponRangeMethod · 0.80

Calls 1

getIDMethod · 0.45

Tested by

no test coverage detected