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

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

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

Метод Описание
PrecedingVehicleState ( double location, double distance, Speed speed ) : System

Creates a new instance of this class.

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

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

Creates a new instance of this class.
public PrecedingVehicleState ( double location, double distance, Speed speed ) : System
location double Gets the location of the back of the preceding train, in meters.
distance double The distance from the front of the current train to the back of the preceding train, in meters.
speed Speed Gets the speed of the preceding train.
Результат System