Open Rails

Game Members

Game overview

Public Instance Constructors

Game Constructor Initializes a new instance of the Game based on the specified UserSettings.

Public Instance Properties

Components (inherited from Microsoft.Xna.Framework.Game)
Content (inherited from Microsoft.Xna.Framework.Game)
ContentPath Gets the directory path containing game-specific content.
GraphicsDevice (inherited from Microsoft.Xna.Framework.Game)
InactiveSleepTime (inherited from Microsoft.Xna.Framework.Game)
IsActive (inherited from Microsoft.Xna.Framework.Game)
IsFixedTimeStep (inherited from Microsoft.Xna.Framework.Game)
IsMouseVisible (inherited from Microsoft.Xna.Framework.Game)
LoaderProcess Exposes access to the LoaderProcess for the game.
RenderProcess Exposes access to the RenderProcess for the game.
Services (inherited from Microsoft.Xna.Framework.Game)
Settings Gets the UserSettings for the game.
SoundProcess Exposes access to the SoundProcess for the game.
State Gets the current GameState, if there is one, or null.
TargetElapsedTime (inherited from Microsoft.Xna.Framework.Game)
UpdaterProcess Exposes access to the UpdaterProcess for the game.
WatchdogProcess Exposes access to the WatchdogProcess for the game.
Window (inherited from Microsoft.Xna.Framework.Game)

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.

Public Instance Events

Activated (inherited from Microsoft.Xna.Framework.Game)
Deactivated (inherited from Microsoft.Xna.Framework.Game)
Disposed (inherited from Microsoft.Xna.Framework.Game)
Exiting (inherited from Microsoft.Xna.Framework.Game)

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 try to free resources and perform other cleanup operations before it 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.Processes Namespace