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

Method energyCost

bwapi/BWAPILIB/Source/TechType.cpp:244–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242 return defaultTimeCost[this->getID()];
243 }
244 int TechType::energyCost() const
245 {
246 return defaultEnergyCost[this->getID()];
247 }
248 UnitType TechType::whatResearches() const
249 {
250 return techInternalResearches::whatResearches[this->getID()];

Callers 8

executeMethod · 0.80
CanUseTechMethod · 0.80
writeTechInfoFunction · 0.80
startMethod · 0.80
startMethod · 0.80
updateMethod · 0.80
executeMethod · 0.80

Calls 1

getIDMethod · 0.45

Tested by 3

startMethod · 0.64
startMethod · 0.64
updateMethod · 0.64