using DoubleDeckerbus.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DoubleDeckerbus.Entities { public class EntityDoubleDeckerbus : EntityBus { public Color AddColor { get; private set; } public bool Secondfloor { get; private set; } public bool Stairs { get; private set; } public EntityDoubleDeckerbus(int speed, double weight, Color bodyColor, Color additionalColor, bool secondfloor, bool stairs) : base(speed, weight, bodyColor) { AddColor = additionalColor; Secondfloor = secondfloor; Stairs = stairs; } public void ChangeAdditionalColor(Color additionalColor) { AddColor = additionalColor; } } }