поправки
This commit is contained in:
parent
f0893ad9af
commit
da62af23c3
@ -2,7 +2,7 @@
|
||||
/// <summary>
|
||||
/// Класс отвечающий за прорисовку и перемещение объекта - сущности
|
||||
/// </summary>
|
||||
public class DrawingAntiAircraftGun
|
||||
public class DrawningAntiAircraftGun
|
||||
{
|
||||
/// <summary>
|
||||
/// Класс - сущность
|
@ -5,7 +5,7 @@
|
||||
/// <summary>
|
||||
/// Поле объект для прорисовки объекта
|
||||
/// </summary>
|
||||
private DrawingAntiAircraftGun? _drawningAntiAircraftGun;
|
||||
private DrawningAntiAircraftGun? _drawningAntiAircraftGun;
|
||||
/// <summary>
|
||||
/// конструктор формы
|
||||
/// </summary>
|
||||
@ -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)));
|
||||
|
Loading…
Reference in New Issue
Block a user