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

Method producesLarva

bwapi/BWAPILIB/Source/UnitType.cpp:2510–2515  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2508 this->getID() == UnitTypes::Zerg_Sunken_Colony;
2509 }
2510 bool UnitType::producesLarva() const
2511 {
2512 return this->getID() == UnitTypes::Zerg_Hatchery ||
2513 this->getID() == UnitTypes::Zerg_Lair ||
2514 this->getID() == UnitTypes::Zerg_Hive;
2515 }
2516 bool UnitType::isMineralField() const
2517 {
2518 return this->getID() == UnitTypes::Resource_Mineral_Field ||

Callers 11

producesCreepMethod · 0.95
canMakeFunction · 0.80
canCommandFunction · 0.80
canTrainFunction · 0.80
canMorphFunction · 0.80
getLarvaMethod · 0.80
prepareIssueCommandMethod · 0.80
writeUnitInfoFunction · 0.80
Filters.cppFile · 0.80
issueCommandMethod · 0.80

Calls 1

getIDMethod · 0.45

Tested by

no test coverage detected