26 lines
739 B
C#
26 lines
739 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Lab.Entities
|
|
{
|
|
public class AddBaseCar : BaseCar
|
|
{
|
|
public Color AdditionalColor { get; private set; }
|
|
public bool BodyKit { get; private set; }
|
|
public bool Wing { get; private set; }
|
|
public bool SportLine { get; private set; }
|
|
public AddBaseCar(int speed, double weight, Color bodyColor, Color additionalColor, bool bodyKit, bool wing, bool sportLine) : base(speed, weight, bodyColor)
|
|
{
|
|
AdditionalColor = additionalColor;
|
|
BodyKit = bodyKit;
|
|
Wing = wing;
|
|
SportLine = sportLine;
|
|
}
|
|
|
|
|
|
}
|
|
}
|