Корректировка ошибки
This commit is contained in:
parent
77ca4a836d
commit
e1d06947ff
@ -52,7 +52,6 @@ public class DrawningContainerShip
|
||||
/// <param name="additionalColor">Дополнительный цвет</param>
|
||||
/// <param name="bodyKit">Признак наличия контейнеров</param>
|
||||
/// <param name="Crane">Признак наличия антикрыла</param>
|
||||
/// <param name="sportLine">Признак наличия гоночной полосы</param>
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user