форматирование кода 2

This commit is contained in:
Мельников Игорь 2022-12-08 18:44:57 +04:00
parent a28fb7a3d0
commit ea86e0ece4

View File

@ -61,12 +61,12 @@
public (int Top, int Bottom, int Left, int Right) GetObjectCoordinates()
{
return
(
(int)(_drawningObject.GetCurrentPosition().Top / _size_y),
(int)(_drawningObject.GetCurrentPosition().Bottom / _size_y),
(int)(_drawningObject.GetCurrentPosition().Left / _size_x),
(int)(_drawningObject.GetCurrentPosition().Right / _size_x)
);
(
(int)(_drawningObject.GetCurrentPosition().Top / _size_y),
(int)(_drawningObject.GetCurrentPosition().Bottom / _size_y),
(int)(_drawningObject.GetCurrentPosition().Left / _size_x),
(int)(_drawningObject.GetCurrentPosition().Right / _size_x)
);
}
/// <summary>
/// Проверка возможности движения в данном направлении