| 2473 | this->getID() == UnitTypes::Terran_Civilian; |
| 2474 | } |
| 2475 | bool UnitType::isPowerup() const |
| 2476 | { |
| 2477 | return this->getID() == UnitTypes::Powerup_Uraj_Crystal || |
| 2478 | this->getID() == UnitTypes::Powerup_Khalis_Crystal || |
| 2479 | (this->getID() >= UnitTypes::Powerup_Flag && this->getID() < UnitTypes::None); |
| 2480 | } |
| 2481 | bool UnitType::isBeacon() const |
| 2482 | { |
| 2483 | return this->getID() == UnitTypes::Special_Zerg_Beacon || |
no test coverage detected