Coords getClosestCoordsTo(int unitId, Coords location) { ConvexBoardArea box = pathEnumerator.getUnitMovableAreas().get(unitId); if (box == null) { return null; } return box.getClosestCoordsTo(location); }
Coords getClosestCoordsTo(int unitId, Coords location) { ConvexBoardArea box = pathEnumerator.getUnitMovableAreas().get(unitId); if (box == null) { return null; } return box.getClosestCoordsTo(location); }