Polevoy S.V Lab_work2 #2

Merged
eegov merged 10 commits from LabWork02 into LabWork01 2022-09-30 09:40:07 +04:00
Showing only changes of commit 396df2c24c - Show all commits

View File

@ -62,9 +62,9 @@ namespace Artilleries
return false;
}
for (int i = 0; i < _map.GetLength(0); i++)
for (int i = 2; i < _map.GetLength(0); i++)
{
for (int j = 0; j < _map.GetLength(1); j++)
for (int j = 2; j < _map.GetLength(1); j++)
{
_drawingObject.SetObject((int) (i * _size_x), (int) (j * _size_y), _width, _height);
if (!ObjectIntersects()) return true;