Изменил(а) на 'ProjectPlane/ProjectPlane/DrawingWarPlane.cs'
This commit is contained in:
parent
12ca536980
commit
9a2fb3445b
@ -11,14 +11,20 @@ namespace ProjectPlane
|
||||
/// <summary>
|
||||
/// Инициализация свойств
|
||||
/// </summary>
|
||||
public DrawingWarPlane(int speed, float weight, Color bodyColor, Color dopColor, bool isBomber, bool isFighter, bool superTurbine) :
|
||||
/// <param name="speed">Скорость</param>
|
||||
/// <param name="weight">Вес самолета</param>
|
||||
/// <param name="bodyColor">Цвет корпуса</param>
|
||||
/// <param name="dopColor">Дополнительный цвет</param>
|
||||
/// <param name="bodyKit">Признак наличия доп отсека</param>
|
||||
/// <param name="wing">Признак наличия супертурбины</param>
|
||||
public DrawingWarPlane(int speed, float weight, Color bodyColor, Color dopColor, bool extraCell, bool superTurbine) :
|
||||
base(speed, weight, bodyColor, 110, 60)
|
||||
{
|
||||
Plane = new EntityWarPlane(speed, weight, bodyColor, dopColor, isFighter, superTurbine);
|
||||
Plane = new EntityWarPlane(speed, weight, bodyColor, dopColor, extraCell, superTurbine);
|
||||
}
|
||||
|
||||
public override void DrawTransport(Graphics g)
|
||||
{
|
||||
|
||||
|
||||
if (Plane is not EntityWarPlane warplane)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user