Open Rails

Game Methods

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

Public Instance Methods

Dispose (inherited from Microsoft.Xna.Framework.Game)Overloaded.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
Exit (inherited from Microsoft.Xna.Framework.Game)
GetHashCode (inherited from Object)Serves as a hash function for a particular type.
GetType (inherited from Object)Gets the Type of the current instance.
ProcessReportError Reports an Exception to the log file and/or user, exiting the game in the process.
ResetElapsedTime (inherited from Microsoft.Xna.Framework.Game)
Run (inherited from Microsoft.Xna.Framework.Game)
SetThreadLanguage Updates the calling thread's CurrentUICulture to match the Game's Settings.
SuppressDraw (inherited from Microsoft.Xna.Framework.Game)
Tick (inherited from Microsoft.Xna.Framework.Game)
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

BeginDraw
BeginRun
Dispose (inherited from Microsoft.Xna.Framework.Game)Overloaded.
Draw
EndDraw
EndRun
Finalize (inherited from Microsoft.Xna.Framework.Game)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
Initialize (inherited from Microsoft.Xna.Framework.Game)
LoadContent (inherited from Microsoft.Xna.Framework.Game)
LoadGraphicsContent (inherited from Microsoft.Xna.Framework.Game)Obsolete.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
OnActivated (inherited from Microsoft.Xna.Framework.Game)
OnDeactivated (inherited from Microsoft.Xna.Framework.Game)
OnExiting (inherited from Microsoft.Xna.Framework.Game)
ShowMissingRequirementMessage (inherited from Microsoft.Xna.Framework.Game)
UnloadContent (inherited from Microsoft.Xna.Framework.Game)
UnloadGraphicsContent (inherited from Microsoft.Xna.Framework.Game)Obsolete.
Update

See Also

Game Class | Orts.Viewer3D.Processes Namespace