Sorokin_P.V. Lab Work 5 #5

Merged
eegov merged 6 commits from LabWork05 into LabWork04 2022-11-07 10:10:56 +04:00
2 changed files with 0 additions and 2 deletions
Showing only changes of commit f4343ce125 - Show all commits

View File

@ -13,7 +13,6 @@ namespace Liner
{
Ship = new EntityLiner(speed, weight, bodyColor, dopColor, dopDeck, pool);
}
public override void DrawTransport(Graphics g)
{
if (Ship is not EntityLiner liner)

View File

@ -25,7 +25,6 @@ namespace Liner
_ShipWidth = shipWidth;
_ShipHeight = shipHeight;
}
public void SetPosition(int x, int y, int width, int height)
{
if (width <= _ShipWidth + x || height <= _ShipHeight + y || x<0 || y<0)