| 2298 | return unitDimensions[this->getID()].down; |
| 2299 | } |
| 2300 | int UnitType::width() const |
| 2301 | { |
| 2302 | return this->dimensionLeft() + 1 + this->dimensionRight(); |
| 2303 | } |
| 2304 | int UnitType::height() const |
| 2305 | { |
| 2306 | return this->dimensionUp() + 1 + this->dimensionDown(); |