diff --git a/Locomotives/Locomotives/AbstractMap.cs b/Locomotives/Locomotives/AbstractMap.cs index 0aff92b..2b9f59c 100644 --- a/Locomotives/Locomotives/AbstractMap.cs +++ b/Locomotives/Locomotives/AbstractMap.cs @@ -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) + ); } /// /// Проверка возможности движения в данном направлении