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) : base(speed, weight) { BatteryColor = batteryColor; RogaColor = rogaColor; } }