C# 클래스 OpenBveApi.Runtime.PrecedingVehicleState

Represents the current state of the preceding train.
파일 보기 프로젝트 열기: leezer3/OpenBVE 1 사용 예제들

공개 메소드들

메소드 설명
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