поменял цвет корпуса

This commit is contained in:
1SooNoo1 2023-10-10 23:34:30 +04:00
parent 64ba213971
commit c7478ab5f8

View File

@ -134,7 +134,7 @@ namespace ProjectExcavator
g.DrawLine(pen, _startPosX + 20, _startPosY + 70, _startPosX + 150, _startPosY + 70);
}
//корпус
Brush bodyBrush = new SolidBrush(Color.Red);
Brush bodyBrush = new SolidBrush(EntityExcavator.BodyColor);
g.FillRectangle(bodyBrush, _startPosX + 20, _startPosY + 60, 130, 20);
g.FillRectangle(bodyBrush, _startPosX + 100, _startPosY + 20, 30, 40);
g.FillRectangle(bodyBrush, _startPosX + 30, _startPosY + 40, 10, 20);