Лабораторная 7
This commit is contained in:
parent
4719ebf161
commit
bb8d33a297
@ -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++)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user