Open Rails

Traveller Constructor

[This is preliminary documentation and subject to change.]

Creates a traveller on the starting point of a path, in the direction of the path

Overload List

Creates a traveller on the starting point of a path, in the direction of the path

public Traveller(TrackSectionsFile,TrackNode[],AIPath)

Creates a traveller starting at a specific location, facing with the track node.

public Traveller(TrackSectionsFile,TrackNode[],WorldLocation)

Creates a traveller starting at the beginning of the specified track node, facing with the track node.

public Traveller(TrackSectionsFile,TrackNode[],TrackNode)

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

public Traveller(TrackSectionsFile,TrackNode[],TrackNode,int,int,float,float,TravellerDirection)

Creates a traveller starting at a specific location, facing with the track node.

public Traveller(TrackSectionsFile,TrackNode[],int,int,float,float)

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

public Traveller(TrackSectionsFile,TrackNode[],int,int,float,float,TravellerDirection)

Creates a traveller from persisted data.

public Traveller(TrackSectionsFile,TrackNode[],BinaryReader)

Creates a copy of another traveller, starting in the same location and with the same direction.

public Traveller(Traveller)

Creates a copy of another traveller, starting in the same location but with the specified change of direction.

public Traveller(Traveller,TravellerDirection)

See Also

Traveller Class | ORTS Namespace