PIbd-23_Vrazhkin_S_A_Electr.../lab1/Entities/EntityElectricLocomotiv.cs

12 lines
430 B
C#
Raw Permalink Normal View History

2023-10-03 11:53:51 +04:00
namespace ElectricLocomotive;
public class EntityElectricLocomotiv : EntityLocomotiv
{
2023-11-14 12:17:37 +04:00
public Color BatteryColor { get; set; }
public Color RogaColor { get; set; }
2023-10-17 13:49:31 +04:00
public EntityElectricLocomotiv(int speed,double weight, Color batteryColor, Color rogaColor, Color mainColor, Color dopColor) : base(speed, weight, mainColor, dopColor)
2023-10-03 11:53:51 +04:00
{
BatteryColor = batteryColor;
RogaColor = rogaColor;
}
}