diff --git a/Locomotives/Locomotives/AbstractMap.cs b/Locomotives/Locomotives/AbstractMap.cs index 2b9f59c..a350ff0 100644 --- a/Locomotives/Locomotives/AbstractMap.cs +++ b/Locomotives/Locomotives/AbstractMap.cs @@ -60,13 +60,13 @@ /// 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) - ); + 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) + ); } /// /// Проверка возможности движения в данном направлении diff --git a/Locomotives/Locomotives/DrawningObjectLocomotive.cs b/Locomotives/Locomotives/DrawningObjectLocomotive.cs index ddba1ce..596bd59 100644 --- a/Locomotives/Locomotives/DrawningObjectLocomotive.cs +++ b/Locomotives/Locomotives/DrawningObjectLocomotive.cs @@ -1,8 +1,8 @@ namespace Locomotives { - /// - /// Класс-наследник от интерфейса (реализация) - /// +/// +/// Класс-наследник от интерфейса (реализация) +/// internal class DrawningObjectLocomotive : IDrawningObject { ///