--------------------------------------------- GET LARVA --------------------------------------------------
| 358 | } |
| 359 | //--------------------------------------------- GET LARVA -------------------------------------------------- |
| 360 | Unitset UnitImpl::getLarva() const |
| 361 | { |
| 362 | if (!getType().producesLarva()) |
| 363 | return Unitset{}; |
| 364 | return connectedUnits; |
| 365 | } |
| 366 | //--------------------------------------------- EXISTS ----------------------------------------------------- |
| 367 | bool UnitImpl::exists() const |
| 368 | { |
no test coverage detected