diff --git a/Lab1ContainersShip/Lab1ContainersShip/DrawingShip.cs b/Lab1ContainersShip/Lab1ContainersShip/DrawingShip.cs
index 3eec57f..aa1e6b8 100644
--- a/Lab1ContainersShip/Lab1ContainersShip/DrawingShip.cs
+++ b/Lab1ContainersShip/Lab1ContainersShip/DrawingShip.cs
@@ -149,8 +149,7 @@ namespace Lab1ContainersShip.DrawingObjects
return;
}
Pen pen = new Pen(Color.Black);
- //Brush adbrush = new SolidBrush(EntityShip.AdditionalColor);
- Brush brBlue = new SolidBrush(Color.Blue);
+
Brush brBody = new SolidBrush(EntityShip.BodyColor);
// заполнение борта
g.FillPolygon(brBody, new PointF[]
diff --git a/Lab1ContainersShip/Lab1ContainersShip/EntityShip.cs b/Lab1ContainersShip/Lab1ContainersShip/EntityShip.cs
index c3cc52e..1410765 100644
--- a/Lab1ContainersShip/Lab1ContainersShip/EntityShip.cs
+++ b/Lab1ContainersShip/Lab1ContainersShip/EntityShip.cs
@@ -24,17 +24,16 @@ namespace Lab1ContainersShip.Entities
///
/// Дополнительный цвет (для опциональных элементов)
///
- //public Color AdditionalColor { get; private set; }
-
+
///
/// Признак (опция) наличия крана
///
- //public bool Crane { get; private set; }
+
///
/// Признак (опция) наличия контейнеров
///
- //public bool Conteiners { get; private set; }
+
public double Step => (double)Speed * 100 / Weight;
public EntityShip(int speed, double weight, Color bodyColor)
{