Лабораторная 7

This commit is contained in:
Hells Hound 2022-11-29 20:42:38 +04:00
parent 4719ebf161
commit bb8d33a297

View File

@ -192,7 +192,6 @@ namespace AircraftCarrier
int countInLine = _pictureWidth / _placeSizeWidth; int countInLine = _pictureWidth / _placeSizeWidth;
int countInColumn = _pictureHeight / _placeSizeHeight; int countInColumn = _pictureHeight / _placeSizeHeight;
int maxLeft = (countInLine - 1) * _placeSizeWidth;
int maxDown = (countInColumn - 1) * _placeSizeHeight; int maxDown = (countInColumn - 1) * _placeSizeHeight;
for (int i = 0; i < _setWarships.Count; i++) for (int i = 0; i < _setWarships.Count; i++)
{ {