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

Method targetsGround

bwapi/BWAPILIB/Source/WeaponType.cpp:581–584  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

579 return !!(wpnFlags[this->getID()] & TARG_AIR);
580 }
581 bool WeaponType::targetsGround() const
582 {
583 return !!(wpnFlags[this->getID()] & TARG_GROUND);
584 }
585 bool WeaponType::targetsMechanical() const
586 {
587 return !!(wpnFlags[this->getID()] & TARG_MECH);

Callers 2

WeaponCanHitFunction · 0.80
getUnitsInWeaponRangeMethod · 0.80

Calls 1

getIDMethod · 0.45

Tested by

no test coverage detected