diff --git a/ProjectContainerShip/ProjectContainerShip/DrawningContainerShip.cs b/ProjectContainerShip/ProjectContainerShip/DrawningContainerShip.cs index 4a45d5a..61ce1ff 100644 --- a/ProjectContainerShip/ProjectContainerShip/DrawningContainerShip.cs +++ b/ProjectContainerShip/ProjectContainerShip/DrawningContainerShip.cs @@ -52,7 +52,6 @@ public class DrawningContainerShip /// Дополнительный цвет /// Признак наличия контейнеров /// Признак наличия антикрыла - /// Признак наличия гоночной полосы public void Init(int speed, double weight, Color bodyColor, Color additionalColor, bool bodyKit, bool Crane) { EntityContainerShip = new EntityContainerShip(); @@ -184,6 +183,7 @@ public class DrawningContainerShip Brush brYellow = new SolidBrush(Color.LightYellow); g.DrawRectangle(pen, _startPosX.Value + 20, _startPosY.Value + 30, 30, 30); g.FillRectangle(brYellow, _startPosX.Value + 20, _startPosY.Value + 30, 30, 30); + //кузов Brush br = new SolidBrush(EntityContainerShip.BodyColor);