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

Method getCenter

bwapi/BWAPILIB/Source/Race.cpp:80–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78 return RaceInternal::baseTypes[this->getID()];
79 }
80 UnitType Race::getCenter() const
81 {
82 return getResourceDepot();
83 }
84 UnitType Race::getRefinery() const
85 {
86 return RaceInternal::refineryTypes[this->getID()];

Callers 4

RunMilitaryControllerMethod · 0.45
getBuildLocationMethod · 0.45
getDistanceMethod · 0.45
setNeighborsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected