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

Method getResourceDepot

bwapi/BWAPILIB/Source/Race.cpp:76–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74 return RaceInternal::workerTypes[this->getID()];
75 }
76 UnitType Race::getResourceDepot() const
77 {
78 return RaceInternal::baseTypes[this->getID()];
79 }
80 UnitType Race::getCenter() const
81 {
82 return getResourceDepot();

Callers 1

writeRaceInfoFunction · 0.80

Calls 1

getIDMethod · 0.45

Tested by

no test coverage detected