public void LocateRover(Rover rover) { if (rover.GetCoordinates().X > this.xLimit) { throw new ArgumentOutOfRangeException(); } if (rover.GetCoordinates().Y > this.yLimit) { throw new ArgumentOutOfRangeException(); } this.Rover = rover; }