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

Method targetsAir

bwapi/BWAPILIB/Source/WeaponType.cpp:577–580  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

575 return wpnSplashRangeOuter[this->getID()];
576 }
577 bool WeaponType::targetsAir() const
578 {
579 return !!(wpnFlags[this->getID()] & TARG_AIR);
580 }
581 bool WeaponType::targetsGround() const
582 {
583 return !!(wpnFlags[this->getID()] & TARG_GROUND);

Callers 2

WeaponCanHitFunction · 0.80
getUnitsInWeaponRangeMethod · 0.80

Calls 1

getIDMethod · 0.45

Tested by

no test coverage detected