| 2485 | this->getID() == UnitTypes::Special_Protoss_Beacon; |
| 2486 | } |
| 2487 | bool UnitType::isFlagBeacon() const |
| 2488 | { |
| 2489 | return this->getID() == UnitTypes::Special_Zerg_Flag_Beacon || |
| 2490 | this->getID() == UnitTypes::Special_Terran_Flag_Beacon || |
| 2491 | this->getID() == UnitTypes::Special_Protoss_Flag_Beacon; |
| 2492 | } |
| 2493 | bool UnitType::isSpecialBuilding() const |
| 2494 | { |
| 2495 | return this->isBuilding() && this->whatBuilds().second == 0 && this->getID() != UnitTypes::Zerg_Infested_Command_Center; |
no test coverage detected