ввпчя
This commit is contained in:
commit
437d7894e2
@ -155,8 +155,7 @@ namespace Lab1ContainersShip.DrawingObjects
|
||||
return;
|
||||
}
|
||||
Pen pen = new Pen(Color.Black);
|
||||
|
||||
Brush brBlue = new SolidBrush(Color.Blue);
|
||||
|
||||
Brush brBody = new SolidBrush(EntityShip.BodyColor);
|
||||
// заполнение борта
|
||||
g.FillPolygon(brBody, new PointF[]
|
||||
|
@ -32,5 +32,6 @@ namespace Lab1ContainersShip.MovementStrategy
|
||||
_drawingShip?.CanMove(direction) ?? false;
|
||||
public void MoveObject(Direction direction) =>
|
||||
_drawingShip?.MoveTransport(direction);
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -31,6 +31,7 @@ namespace Lab1ContainersShip.MovementStrategy
|
||||
/// </summary>
|
||||
/// <param name="direction">Направление</param>
|
||||
void MoveObject(Direction direction);
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user