PIbd-22 Kaznacheeva E.K. LabWork_4 #9
@ -72,7 +72,9 @@ namespace Battleship.Generics
|
||||
yield return _places[i];
|
||||
if (maxShips.HasValue && i == maxShips.Value)
|
||||
{
|
||||
|
||||
yield break;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user