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

Method targetsMechanical

bwapi/BWAPILIB/Source/WeaponType.cpp:585–588  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

583 return !!(wpnFlags[this->getID()] & TARG_GROUND);
584 }
585 bool WeaponType::targetsMechanical() const
586 {
587 return !!(wpnFlags[this->getID()] & TARG_MECH);
588 }
589 bool WeaponType::targetsOrganic() const
590 {
591 return !!(wpnFlags[this->getID()] & TARG_ORGANIC);

Callers 2

WeaponCanHitFunction · 0.80
getUnitsInWeaponRangeMethod · 0.80

Calls 1

getIDMethod · 0.45

Tested by

no test coverage detected