LabWork_02 #3

Closed
maxnes3 wants to merge 14 commits from LabWork_02 into LabWork_01
Showing only changes of commit 5c14d4e6cc - Show all commits

View File

@ -32,7 +32,7 @@ namespace WarmlyShip
return DrawMapWithObject();
}
private bool CanMove(Direction direction, (float Left, float Right, float Top, float Bottom) position)
private bool CanMove(Direction direction, (float Left, float Right, float Top, float Bottom) position) //Проверка на возможность шага
{
for (int i = (int)(position.Top / _size_y); i <= (int)(position.Bottom / _size_y); ++i)
{