Open Rails

WorldPosition Methods

The methods of the WorldPosition class are listed below. For a complete list of WorldPosition class members, see the WorldPosition Members topic.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type.
GetType (inherited from Object)Gets the Type of the current instance.
Normalize Ensure tile coordinates are within tile boundaries
NormalizeTo Change tile and location values to make it as if the location where on the requested tile.
ToString Create a nice string-representation of the world position

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

WorldPosition Class | ORTS.Common Namespace