| 2508 | this->getID() == UnitTypes::Zerg_Sunken_Colony; |
| 2509 | } |
| 2510 | bool UnitType::producesLarva() const |
| 2511 | { |
| 2512 | return this->getID() == UnitTypes::Zerg_Hatchery || |
| 2513 | this->getID() == UnitTypes::Zerg_Lair || |
| 2514 | this->getID() == UnitTypes::Zerg_Hive; |
| 2515 | } |
| 2516 | bool UnitType::isMineralField() const |
| 2517 | { |
| 2518 | return this->getID() == UnitTypes::Resource_Mineral_Field || |
no test coverage detected