SemesterFirstLabFifthBomberBase

This commit is contained in:
VanyaAlekseev 2023-11-15 19:12:32 +04:00
parent 592059a118
commit 8647cc572a

View File

@ -111,7 +111,6 @@ namespace ProjectBomber.Generics
Pen pen = new Pen(Color.Black, 3);
int numColumns = pictureWidth / _placeSizeWidth;
int numRows = pictureHeight / _placeSizeHeight;
for (int i = 0; i <= numColumns; i++)
{
for (int j = 0; j <= numRows; ++j)
@ -121,7 +120,6 @@ namespace ProjectBomber.Generics
int y = j * _placeSizeHeight;
g.DrawLine(pen, x, y, x + _placeSizeWidth / 2, y);
}
g.DrawLine(pen, i * _placeSizeWidth, 0, i * _placeSizeWidth, numRows * _placeSizeHeight);
}
}