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

Method producesCreep

bwapi/BWAPILIB/Source/UnitType.cpp:2503–2509  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2501 this->getID() == UnitTypes::Spell_Scanner_Sweep;
2502 }
2503 bool UnitType::producesCreep() const
2504 {
2505 return this->producesLarva() ||
2506 this->getID() == UnitTypes::Zerg_Creep_Colony ||
2507 this->getID() == UnitTypes::Zerg_Spore_Colony ||
2508 this->getID() == UnitTypes::Zerg_Sunken_Colony;
2509 }
2510 bool UnitType::producesLarva() const
2511 {
2512 return this->getID() == UnitTypes::Zerg_Hatchery ||

Callers 1

executeMethod · 0.80

Calls 2

producesLarvaMethod · 0.95
getIDMethod · 0.45

Tested by

no test coverage detected