PIbd22_Kamcharova_K.A._Doub.../DoubleDeckerBus/Entities/EntityDoubleDeckerbus.cs

22 lines
703 B
C#
Raw Normal View History

2023-11-14 14:11:54 +04:00
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
{
2023-11-25 14:55:27 +04:00
public Color AddColor { get; private set; }
2023-11-14 14:11:54 +04:00
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)
{
2023-11-25 14:55:27 +04:00
AddColor = additionalColor;
2023-11-14 14:11:54 +04:00
Secondfloor = secondfloor;
Stairs = stairs;
}
}
}