diff --git a/ProjectTank/ProjectTank/DrawningBoat.cs b/ProjectTank/ProjectTank/DrawningTank.cs similarity index 94% rename from ProjectTank/ProjectTank/DrawningBoat.cs rename to ProjectTank/ProjectTank/DrawningTank.cs index 335ddf4..9cecaf5 100644 --- a/ProjectTank/ProjectTank/DrawningBoat.cs +++ b/ProjectTank/ProjectTank/DrawningTank.cs @@ -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) diff --git a/ProjectTank/ProjectTank/EntityBoat.cs b/ProjectTank/ProjectTank/EntityTank.cs similarity index 100% rename from ProjectTank/ProjectTank/EntityBoat.cs rename to ProjectTank/ProjectTank/EntityTank.cs diff --git a/ProjectTank/ProjectTank/FormBoat.Designer.cs b/ProjectTank/ProjectTank/FormTank.Designer.cs similarity index 100% rename from ProjectTank/ProjectTank/FormBoat.Designer.cs rename to ProjectTank/ProjectTank/FormTank.Designer.cs diff --git a/ProjectTank/ProjectTank/FormBoat.cs b/ProjectTank/ProjectTank/FormTank.cs similarity index 100% rename from ProjectTank/ProjectTank/FormBoat.cs rename to ProjectTank/ProjectTank/FormTank.cs diff --git a/ProjectTank/ProjectTank/FormBoat.resx b/ProjectTank/ProjectTank/FormTank.resx similarity index 100% rename from ProjectTank/ProjectTank/FormBoat.resx rename to ProjectTank/ProjectTank/FormTank.resx