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

Method isMineralField

bwapi/BWAPILIB/Source/UnitType.cpp:2516–2521  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2514 this->getID() == UnitTypes::Zerg_Hive;
2515 }
2516 bool UnitType::isMineralField() const
2517 {
2518 return this->getID() == UnitTypes::Resource_Mineral_Field ||
2519 this->getID() == UnitTypes::Resource_Mineral_Field_Type_2 ||
2520 this->getID() == UnitTypes::Resource_Mineral_Field_Type_3;
2521 }
2522 bool UnitType::isCritter() const
2523 {
2524 switch ( *this )

Callers 7

isGatheringMineralsMethod · 0.80
updateInternalDataMethod · 0.80
Filters.cppFile · 0.80
startMethod · 0.80
onMatchFrameMethod · 0.80
executeMethod · 0.80

Calls 1

getIDMethod · 0.45

Tested by 1

startMethod · 0.64