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

Method getLarva

bwapi/Shared/UnitShared.cpp:360–365  ·  view source on GitHub ↗

--------------------------------------------- GET LARVA --------------------------------------------------

Source from the content-addressed store, hash-verified

358 }
359 //--------------------------------------------- GET LARVA --------------------------------------------------
360 Unitset UnitImpl::getLarva() const
361 {
362 if (!getType().producesLarva())
363 return Unitset{};
364 return connectedUnits;
365 }
366 //--------------------------------------------- EXISTS -----------------------------------------------------
367 bool UnitImpl::exists() const
368 {

Callers 6

prepareIssueCommandMethod · 0.95
issueCommandMethod · 0.95
canMakeFunction · 0.45
canCommandFunction · 0.45
canTrainFunction · 0.45
canMorphFunction · 0.45

Calls 1

producesLarvaMethod · 0.80

Tested by

no test coverage detected