using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography.X509Certificates; using System.Text; using System.Threading.Tasks; namespace ContainerShip.Entities { public class EntityContainerShip : EntityShip { public Color AdditionalColor { get; private set; } public bool Load { get; private set; } public bool Crane { get; private set; } public EntityContainerShip(int speed, double weight, Color bodyColor, Color additionalColor, bool load, bool crane) : base(speed, weight, bodyColor) { AdditionalColor = additionalColor; Load = load; Crane = crane; } public void ChangeAdditionalColor(Color additionalColor) { AdditionalColor = additionalColor; } } }