2024-06-12 19:21:59 +04:00
|
|
|
|
namespace ProjectCruiser.Entities;
|
2024-06-12 16:25:55 +04:00
|
|
|
|
|
|
|
|
|
public class EntityCruiser : EntityBase
|
|
|
|
|
{
|
|
|
|
|
public Color AdditionalColor { get; private set; } // доп. цвет
|
|
|
|
|
|
2024-06-15 09:53:32 +04:00
|
|
|
|
public void setAdditionalColor(Color clr)
|
|
|
|
|
{
|
|
|
|
|
AdditionalColor = clr;
|
|
|
|
|
}
|
|
|
|
|
|
2024-06-12 16:25:55 +04:00
|
|
|
|
// признаки (наличия)
|
|
|
|
|
public bool HelicopterPads { get; private set; } // вертолетная площадка
|
2024-06-13 10:57:01 +04:00
|
|
|
|
public bool Hangars { get; private set; } // ангар
|
2024-06-12 16:25:55 +04:00
|
|
|
|
|
|
|
|
|
public EntityCruiser(int speed, double weight, Color mainc,
|
2024-06-13 10:57:01 +04:00
|
|
|
|
Color additionalColor, bool hangars)
|
2024-06-12 16:25:55 +04:00
|
|
|
|
: base(speed, weight, mainc)
|
|
|
|
|
{
|
|
|
|
|
AdditionalColor = additionalColor;
|
2024-06-13 10:57:01 +04:00
|
|
|
|
// HelicopterPads = pads; - default TRUE now for Advanced obj
|
|
|
|
|
Hangars = hangars;
|
2024-06-12 16:25:55 +04:00
|
|
|
|
}
|
|
|
|
|
}
|