Merge branch 'lab3' of http://student.git.athene.tech/efi16/PIbd-23_Bakshaeva_E.A._Monorail_Base into lab3
This commit is contained in:
commit
7cb730e265
@ -130,7 +130,7 @@ where T : class, IDrawingObject
|
|||||||
_setLocomotive.Get(i)?.DrawingObject(g);
|
_setLocomotive.Get(i)?.DrawingObject(g);
|
||||||
|
|
||||||
xPosition -= _placeSizeWidth;
|
xPosition -= _placeSizeWidth;
|
||||||
if (xPosition < _placeSizeWidth)
|
if (xPosition < 0)
|
||||||
{
|
{
|
||||||
yPosition += _placeSizeHeight;
|
yPosition += _placeSizeHeight;
|
||||||
xPosition = _pictureWidth - _placeSizeWidth;
|
xPosition = _pictureWidth - _placeSizeWidth;
|
||||||
|
Loading…
Reference in New Issue
Block a user