Lab_2_Kryukov_AI_Excavator

This commit is contained in:
1SooNoo1 2023-10-10 23:07:56 +04:00
parent e8437e26f6
commit 7b6f4285e5

View File

@ -172,7 +172,7 @@ namespace ProjectExcavator.DrawningObjects
}
Pen pen = new(Color.Black);
//корпус
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);