ISEbd-12_Sinelnikova_A.V._S.../ProjectCruiser/Entities/EntityMilitaryCruiser.cs
2024-03-07 09:46:27 +04:00

31 lines
1.2 KiB
C#

namespace ProjectCruiser.Entities
{
internal class EntityMilitaryCruiser : EntityCruiser
{
/// <summary>
/// Признак (опция) наличие вертолетной площадки
/// </summary>
public bool HelicopterArea { get; private set; }
/// <summary>
/// Признак (опция) наличие шлюпок
/// </summary>
public bool Boat { get; private set; }
/// <summary>
/// Признак (опция) наличие пушки
/// </summary>
public bool Weapon { get; private set; }
/// <summary>
/// Дополнительный цвет (для опциональных элементов)
/// </summary>
public Color AdditionalColor { get; private set; }
public EntityMilitaryCruiser(int speed, double weight, Color bodyColor, Color additionalColor, bool helicopterArea, bool boat, bool weapon) : base(speed, weight, bodyColor)
{
AdditionalColor = additionalColor;
HelicopterArea = helicopterArea;
Boat = boat;
Weapon = weapon;
}
}
}