PIbd22_Kamcharova_K.A._Doub.../DoubleDeckerBus/EntityDoubleDeckerBus.cs

22 lines
717 B
C#

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 AdditionalColor { 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)
{
AdditionalColor = additionalColor;
Secondfloor = secondfloor;
Stairs = stairs;
}
}
}