LabWork_02 #3
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user