Open Rails

MSTSItems Members

MSTSItems overview

Public Instance Constructors

MSTSItems Constructor The MSTSItems class constructor.

Public Instance Fields

aeCrossOver
buffers
segments
shapes
sidings
signals
switches

Public Instance Methods

AddCrossOver
AddSegment Used to add a new segment to the list of segments managed by the editor.
AddSiding Used to add a new siding (start or end) to the list of siding managed by the editor.
AddSignal
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
findSegmentFromMouse Search a segment from the coordinate of the mouse.
getBuffers
getCrossOver
GetHashCode (inherited from Object)Serves as a hash function for a particular type.
getSegments
GetShape Search for a shape by index, if no occurence, create one and return it Work in Progress
getShapes
getSidings
getSignals
getSwitches
GetTrackSegmentOverloaded. Search through 'segments', 'switches' or 'buffer' for the item in relation with the TrackNode index
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

MSTSItems Class | Orts.Formats.OR Namespace