diff --git a/AntiAircraftGun/DrawingAntiAircraftGun.cs b/AntiAircraftGun/DrawningAntiAircraftGun.cs similarity index 99% rename from AntiAircraftGun/DrawingAntiAircraftGun.cs rename to AntiAircraftGun/DrawningAntiAircraftGun.cs index 77fc465..66c1ead 100644 --- a/AntiAircraftGun/DrawingAntiAircraftGun.cs +++ b/AntiAircraftGun/DrawningAntiAircraftGun.cs @@ -2,7 +2,7 @@ /// /// Класс отвечающий за прорисовку и перемещение объекта - сущности /// -public class DrawingAntiAircraftGun +public class DrawningAntiAircraftGun { /// /// Класс - сущность diff --git a/AntiAircraftGun/FormAntiAircraftGun.cs b/AntiAircraftGun/FormAntiAircraftGun.cs index 78a038e..cca877f 100644 --- a/AntiAircraftGun/FormAntiAircraftGun.cs +++ b/AntiAircraftGun/FormAntiAircraftGun.cs @@ -5,7 +5,7 @@ /// /// Поле объект для прорисовки объекта /// - private DrawingAntiAircraftGun? _drawningAntiAircraftGun; + private DrawningAntiAircraftGun? _drawningAntiAircraftGun; /// /// конструктор формы /// @@ -35,7 +35,7 @@ private void ButtonCreate_Click(object sender, EventArgs e) { Random random = new(); - _drawningAntiAircraftGun = new DrawingAntiAircraftGun(); + _drawningAntiAircraftGun = new DrawningAntiAircraftGun(); _drawningAntiAircraftGun.Init(random.Next(100, 300), random.Next(1000, 3000), Color.FromArgb(random.Next(0, 255), random.Next(0, 255), random.Next(0, 255)), Color.FromArgb(random.Next(0, 255), random.Next(0, 255), random.Next(0, 255)), Convert.ToBoolean(random.Next(0, 2)), Convert.ToBoolean(random.Next(0, 2)), Convert.ToBoolean(random.Next(0, 2)));