PIbd-23_Vrazhkin_S_A_Electr.../lab1/Entities/EntityElectricLocomotiv.cs
2023-10-17 13:49:31 +04:00

12 lines
446 B
C#

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;
}
}