ISEbd-22_Alimova_M.S._AirBo.../AirBomber/AirBomber/EntityAirBomber.cs

25 lines
732 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AirBomber;
namespace AirBomber
{
public class EntityAirBomber : EntityAirPlane
{
public Color AdditionalColor { get; private set; }
public bool Bombs { get; private set; }
public Color BombsColor { get; private set; }
public bool FuelTanks { get; private set; }
public EntityAirBomber(int speed, double weight, Color bodyColor, Color
additionalColor, bool bombs, bool fuelTanks) : base(speed, weight, bodyColor)
{
AdditionalColor = additionalColor;
Bombs = bombs;
FuelTanks = fuelTanks;
}
}
}