This commit is contained in:
Дима 2024-05-22 03:34:55 +04:00
parent 9fb556bc07
commit c25cdbe283

View File

@ -14,14 +14,14 @@ namespace ProjectArtilleryUnit.Drawnings
/// <param name="weight">Вес</param> /// <param name="weight">Вес</param>
/// <param name="bodyColor">Основной цвет</param> /// <param name="bodyColor">Основной цвет</param>
/// <param name="additionalColor">Дополнительный цвет</param> /// <param name="additionalColor">Дополнительный цвет</param>
/// <param name="helicopterArea">Признак наличия вертолетной площадки</param> /// <param name="muzzle">Признак наличия дула</param>
/// <param name="gun">Признак наличия шлюпок</param> /// <param name="gun">Признак наличия ракетной установки</param>
/// <param name="luke">Признак наличия пушки</param> /// <param name="luke">Признак наличия люка</param>
public DrawningMilitaryArtilleryUnit(int speed, double weight, Color bodyColor, Color additionalColor, bool helicopterArea, bool gun, bool luke) public DrawningMilitaryArtilleryUnit(int speed, double weight, Color bodyColor, Color additionalColor, bool muzzle, bool gun, bool luke)
: base(150, 50) : base(150, 50)
{ {
EntityArtilleryUnit = new EntityMilitaryArtilleryUnit(speed, weight, bodyColor, additionalColor, helicopterArea, gun, luke); EntityArtilleryUnit = new EntityMilitaryArtilleryUnit(speed, weight, bodyColor, additionalColor, muzzle, gun, luke);
} }
public override void DrawTransport(Graphics g) public override void DrawTransport(Graphics g)