| 2535 | } |
| 2536 | } |
| 2537 | bool UnitType::canBuildAddon() const |
| 2538 | { |
| 2539 | return this->getID() == UnitTypes::Terran_Command_Center || |
| 2540 | this->getID() == UnitTypes::Terran_Factory || |
| 2541 | this->getID() == UnitTypes::Terran_Starport || |
| 2542 | this->getID() == UnitTypes::Terran_Science_Facility; |
| 2543 | } |
| 2544 | const UnitType::set& UnitTypes::allUnitTypes() |
| 2545 | { |
| 2546 | return unitInternal::unitTypeSet; |
no test coverage detected