| 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()]; |