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

Method getInterceptors

bwapi/Shared/UnitShared.cpp:348–353  ·  view source on GitHub ↗

--------------------------------------------- GET INTERCEPTORS -------------------------------------------

Source from the content-addressed store, hash-verified

346 }
347 //--------------------------------------------- GET INTERCEPTORS -------------------------------------------
348 Unitset UnitImpl::getInterceptors() const
349 {
350 if (getType() != UnitTypes::Protoss_Carrier && getType() != UnitTypes::Hero_Gantrithor)
351 return Unitset{};
352 return connectedUnits;
353 }
354 //--------------------------------------------- GET HATCHERY -----------------------------------------------
355 Unit UnitImpl::getHatchery() const
356 {

Callers 1

onFrameMethod · 0.45

Calls

no outgoing calls

Tested by 1

onFrameMethod · 0.36