C# Класс OpenBveApi.Runtime.VehicleSpecs

Represents the specification of the train.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
VehicleSpecs ( int powerNotches, BrakeTypes brakeType, int brakeNotches, bool hasHoldBrake, int cars ) : System

Creates a new instance of this class.

Описание методов

VehicleSpecs() публичный Метод

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.
Результат System