последние изменения
This commit is contained in:
parent
72b2d823c7
commit
811e02b7bd
@ -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[]
|
||||
|
@ -24,17 +24,16 @@ namespace Lab1ContainersShip.Entities
|
||||
/// <summary>
|
||||
/// Дополнительный цвет (для опциональных элементов)
|
||||
/// </summary>
|
||||
//public Color AdditionalColor { get; private set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Признак (опция) наличия крана
|
||||
/// </summary>
|
||||
//public bool Crane { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Признак (опция) наличия контейнеров
|
||||
/// </summary>
|
||||
//public bool Conteiners { get; private set; }
|
||||
|
||||
public double Step => (double)Speed * 100 / Weight;
|
||||
public EntityShip(int speed, double weight, Color bodyColor)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user