namespace ElectricLocomotive; public class EntityElectricLocomotiv : EntityLocomotiv { public Color BatteryColor { get; private set; } public Color RogaColor { get; private set; } public EntityElectricLocomotiv(int speed,double weight, Color batteryColor, Color rogaColor, Color mainColor, Color dopColor) : base(speed, weight, mainColor, dopColor) { BatteryColor = batteryColor; RogaColor = rogaColor; } }