--------------------------------------------- GET INTERCEPTORS -------------------------------------------
| 346 | } |
| 347 | //--------------------------------------------- GET INTERCEPTORS ------------------------------------------- |
| 348 | Unitset UnitImpl::getInterceptors() const |
| 349 | { |
| 350 | if (getType() != UnitTypes::Protoss_Carrier && getType() != UnitTypes::Hero_Gantrithor) |
| 351 | return Unitset{}; |
| 352 | return connectedUnits; |
| 353 | } |
| 354 | //--------------------------------------------- GET HATCHERY ----------------------------------------------- |
| 355 | Unit UnitImpl::getHatchery() const |
| 356 | { |