12 lines
392 B
C#
12 lines
392 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) : base(speed, weight)
|
|||
|
{
|
|||
|
BatteryColor = batteryColor;
|
|||
|
RogaColor = rogaColor;
|
|||
|
}
|
|||
|
}
|