public HardTruck(TypesOfTruck typeOfTruck, int weight, string nameCar, double engineCapacity, double averageFuelСonsumption, int yearOfRelease, string vincode) : base(nameCar, engineCapacity, averageFuelСonsumption, yearOfRelease, vincode) { Weight = weight; TypeOfTruck = typeOfTruck; }
public HardTruck(TypesOfTruck typeOfTruck, int weight, string nameCar, TypesOfVehicle typesOfVehicle, TypesOfColor typesOfColor, Colors colors, TypesOfEngine typesOfEngine, TypesOfFuel typesOfFuel, double engineCapacity, double averageFuelСonsumption, int yearOfRelease, string vincode) : base(nameCar, typesOfVehicle, typesOfColor, colors, typesOfEngine, typesOfFuel, engineCapacity, averageFuelСonsumption, yearOfRelease, vincode) { TypeOfTruck = typeOfTruck; Weight = weight; }
public void AddSkill(TypesOfTruck skill) { AddedSkill = skill; }