20 lines
614 B
C#
20 lines
614 B
C#
|
namespace ProjectCruiser;
|
|||
|
|
|||
|
public class EntityCruiser : EntityBase
|
|||
|
{
|
|||
|
public Color AdditionalColor { get; private set; } // доп. цвет
|
|||
|
|
|||
|
// признаки (наличия)
|
|||
|
public bool HelicopterPads { get; private set; } // вертолетная площадка
|
|||
|
public bool Hangar { get; private set; } // ангар
|
|||
|
|
|||
|
public EntityCruiser(int speed, double weight, Color mainc,
|
|||
|
Color additionalColor, bool pads, bool hangar)
|
|||
|
: base(speed, weight, mainc)
|
|||
|
{
|
|||
|
AdditionalColor = additionalColor;
|
|||
|
HelicopterPads = pads;
|
|||
|
Hangar = hangar;
|
|||
|
}
|
|||
|
}
|