ввпчя

This commit is contained in:
AnnaLioness 2023-10-20 18:35:45 +04:00
commit 437d7894e2
3 changed files with 3 additions and 2 deletions

View File

@ -156,7 +156,6 @@ namespace Lab1ContainersShip.DrawingObjects
} }
Pen pen = new Pen(Color.Black); Pen pen = new Pen(Color.Black);
Brush brBlue = new SolidBrush(Color.Blue);
Brush brBody = new SolidBrush(EntityShip.BodyColor); Brush brBody = new SolidBrush(EntityShip.BodyColor);
// заполнение борта // заполнение борта
g.FillPolygon(brBody, new PointF[] g.FillPolygon(brBody, new PointF[]

View File

@ -32,5 +32,6 @@ namespace Lab1ContainersShip.MovementStrategy
_drawingShip?.CanMove(direction) ?? false; _drawingShip?.CanMove(direction) ?? false;
public void MoveObject(Direction direction) => public void MoveObject(Direction direction) =>
_drawingShip?.MoveTransport(direction); _drawingShip?.MoveTransport(direction);
} }
} }

View File

@ -32,5 +32,6 @@ namespace Lab1ContainersShip.MovementStrategy
/// <param name="direction">Направление</param> /// <param name="direction">Направление</param>
void MoveObject(Direction direction); void MoveObject(Direction direction);
} }
} }