This commit is contained in:
Дима 2024-05-21 00:45:57 +04:00
parent 4b14456b07
commit f6f10c7158
5 changed files with 4 additions and 6 deletions

View File

@ -171,10 +171,8 @@ public class DrawningTank
Pen pen = new(EntityTank.BodyColor, 2);
Pen pen2 = new(Color.Black, 2);
Pen pen3 = new(Color.Black, 3);
Brush motorBrush = new SolidBrush(Color.Black);
Brush glassBrush = new SolidBrush(Color.Blue);
Brush glassBrush2 = new SolidBrush(EntityTank.AdditionalColor);
Brush oarsBrush = new HatchBrush(HatchStyle.ZigZag, EntityTank.AdditionalColor, Color.FromArgb(163, 163, 163));
Brush Brush = new SolidBrush(Color.Black);
Brush Brush2 = new SolidBrush(EntityTank.AdditionalColor);
Brush additionalBrush = new SolidBrush(EntityTank.AdditionalColor);
//границы танка
@ -211,8 +209,8 @@ public class DrawningTank
g.DrawLine(pen2, _startPosX.Value + 100, _startPosY.Value + 15, _startPosX.Value + 110, _startPosY.Value + 10);
g.DrawLine(pen2, _startPosX.Value + 110, _startPosY.Value + 15, _startPosX.Value + 110, _startPosY.Value + 10);
g.DrawLine(pen2, _startPosX.Value + 120, _startPosY.Value + 15, _startPosX.Value + 110, _startPosY.Value + 10);
g.FillRectangle(motorBrush, _startPosX.Value + 100, _startPosY.Value + 3, 20, 7);
g.FillRectangle(motorBrush, _startPosX.Value + 120, _startPosY.Value + 5, 20, 2);
g.FillRectangle(Brush, _startPosX.Value + 100, _startPosY.Value + 3, 20, 7);
g.FillRectangle(Brush, _startPosX.Value + 120, _startPosY.Value + 5, 20, 2);
}
if (EntityTank.Luke)