Фиксация лабы

This commit is contained in:
Макс Бондаренко 2022-10-18 18:54:51 +04:00
parent 18aeff9872
commit 5c14d4e6cc

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)
{