Полностью готовая

This commit is contained in:
Hells Hound 2022-09-30 19:41:15 +04:00
parent 9a8bafa283
commit c3b6d7169e
4 changed files with 0 additions and 6 deletions

View File

@ -38,7 +38,6 @@ namespace AircraftCarrier
} }
(float Left, float Right, float Top, float Bottom) = _drawingObject.GetCurrentPosition(); (float Left, float Right, float Top, float Bottom) = _drawingObject.GetCurrentPosition();
if (Check(Left, Right, Top, Bottom) != 0) if (Check(Left, Right, Top, Bottom) != 0)
{ {
_drawingObject.MoveObject(GetOpositDirection(direction)); _drawingObject.MoveObject(GetOpositDirection(direction));

View File

@ -207,6 +207,5 @@ namespace AircraftCarrier
{ {
return (_startPosX, _startPosY, _startPosX + _warshipWidth, _startPosY + _warshipHeight); return (_startPosX, _startPosY, _startPosX + _warshipWidth, _startPosY + _warshipHeight);
} }
} }
} }

View File

@ -40,7 +40,5 @@ namespace AircraftCarrier
Weight = weight <= 0 ? rnd.Next(40, 70) : weight; Weight = weight <= 0 ? rnd.Next(40, 70) : weight;
BodyColor = bodyColor; BodyColor = bodyColor;
} }
} }
} }

View File

@ -59,7 +59,5 @@ namespace AircraftCarrier
counter++; counter++;
} }
} }
} }
} }