2023-11-18 23:42:06 +04:00
|
|
|
|
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;
|
|
|
|
|
}
|
2023-11-19 18:24:41 +04:00
|
|
|
|
|
|
|
|
|
public void SetAdditionalColor(Color AdditionalColor)
|
|
|
|
|
{
|
|
|
|
|
this.AdditionalColor = AdditionalColor;
|
|
|
|
|
}
|
2023-11-18 23:42:06 +04:00
|
|
|
|
}
|
|
|
|
|
}
|