Method | Description | |
---|---|---|
VehicleSpecs ( int powerNotches, BrakeTypes brakeType, int brakeNotches, bool hasHoldBrake, int cars ) : System |
Creates a new instance of this class.
|
public VehicleSpecs ( int powerNotches, BrakeTypes brakeType, int brakeNotches, bool hasHoldBrake, int cars ) : System | ||
powerNotches | int | The number of power notches the train has. |
brakeType | BrakeTypes | The type of brake the train uses. |
brakeNotches | int | The number of brake notches the train has, including the hold brake, but excluding the emergency brake. |
hasHoldBrake | bool | Whether the train has a hold brake. |
cars | int | The number of cars the train has. |
return | System |