Open Rails

Traveller Constructor

[This is preliminary documentation and subject to change.]

Creates a traveller starting at a specific location, facing in the specified direction.

Traveller(
   TrackSectionsFile tSectionDat,
   TrackNode[] trackNodes,
   int tileX,
   int tileZ,
   float x,
   float z,
   TravellerDirection direction
);

Parameters

tSectionDat
Provides vector track sections.
trackNodes
Provides track nodes.
tileX
Starting tile coordinate.
tileZ
Starting tile coordinate.
x
Starting coordinate.
z
Starting coordinate.
direction
Starting direction.

See Also

Traveller Class | ORTS Namespace | Traveller Constructor Overload List