| 711 | return this->getUnitsInRadius(center.x, center.y, radius, pred); |
| 712 | } |
| 713 | Unitset Game::getUnitsInRectangle(BWAPI::Position topLeft, BWAPI::Position bottomRight, const UnitFilter &pred) const |
| 714 | { |
| 715 | return this->getUnitsInRectangle(topLeft.x, topLeft.y, bottomRight.x, bottomRight.y, pred); |
| 716 | } |
| 717 | Unit Game::getClosestUnit(Position center, const UnitFilter &pred, int radius) const |
| 718 | { |
| 719 | return this->getClosestUnitInRectangle(center, |
no outgoing calls
no test coverage detected