22 lines
703 B
C#
22 lines
703 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 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;
|
|
}
|
|
}
|
|
} |