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

Method maxUnitHeight

bwapi/BWAPILIB/Source/UnitType.cpp:2557–2561  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2555 return maxWidth;
2556 }
2557 int UnitTypes::maxUnitHeight()
2558 {
2559 static const int maxHeight = (*std::max_element( allUnitTypes().begin(), allUnitTypes().end(), [](const UnitType &a, const UnitType &b){ return a.height() < b.height(); } )).height();
2560 return maxHeight;
2561 }
2562 const UnitType::set& UnitType::buildsWhat() const
2563 {
2564 return unitInternal::buildsWhat[this->getID()];

Callers

nothing calls this directly

Calls 3

beginMethod · 0.80
endMethod · 0.80
heightMethod · 0.45

Tested by

no test coverage detected