PIbd-22_Shabunov_O.A._AirBo.../AirBomber/Entities/BomberEntity.cs

18 lines
568 B
C#

namespace AirBomber.Entities
{
public class BomberEntity : BomberEntityBase
{
public Color AdditionalColor { get; private set; }
public bool Bombs { get; private set; }
public bool FuelTanks { get; private set; }
public BomberEntity(int Speed, double Weight, Color BodyColor, Color AdditionalColor, bool FuelTanks, bool Bombs)
: base(Speed, Weight, BodyColor)
{
this.AdditionalColor = AdditionalColor;
this.FuelTanks = FuelTanks;
this.Bombs = Bombs;
}
}
}