4 лаба финиш

This commit is contained in:
кристина лаврова 2024-05-22 14:22:42 +04:00
parent 4ad2966f9d
commit d639cbd1cc

View File

@ -38,17 +38,17 @@ public class DrawningEntityFighter : DrawningTrackedVehicle
{ {
///ковш ///ковш
g.DrawRectangle(pen, _startPosX.Value - 2, _startPosY.Value + 37, 8, 15); g.DrawRectangle(pen, _startPosX.Value - 17, _startPosY.Value + 12, 8, 15);
g.FillRectangle(CraneBrush, _startPosX.Value - 2, _startPosY.Value + 37, 8, 15); g.FillRectangle(CraneBrush, _startPosX.Value - 17, _startPosY.Value + 12, 8, 15);
g.DrawRectangle(pen, _startPosX.Value - -6, _startPosY.Value + 37, 4, 1); g.DrawRectangle(pen, _startPosX.Value - 8, _startPosY.Value + 17, 5, 1);
} }
///противовес ///противовес
if (fighter.Otval) if (fighter.Otval)
{ {
g.DrawRectangle(pen, _startPosX.Value + 73, _startPosY.Value + 37, 17, 1); g.DrawRectangle(pen, _startPosX.Value + 63, _startPosY.Value + 17, 17, 1);
g.DrawRectangle(pen, _startPosX.Value + 90, _startPosY.Value + 37, 1, 17); g.DrawRectangle(pen, _startPosX.Value + 80, _startPosY.Value + 17, 1, 16);
} }