ISEbd-21 Melnikov I. O. Lab work 08 Base #11

Closed
Igor-Melnikov wants to merge 7 commits from LabWork08 into LabWork07
Showing only changes of commit ea86e0ece4 - Show all commits

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>
/// Проверка возможности движения в данном направлении