Game Class (Microsoft.Xna.Framework)
- C#
- VB
- F#
public class Game : IDisposable
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
The Game type exposes the following members.
Platforms | Name | Description | |
---|---|---|---|
Components | |||
Content | |||
GraphicsDevice | |||
InactiveSleepTime | |||
IsActive | |||
IsFixedTimeStep | |||
IsMouseVisible | |||
LaunchParameters | |||
MaxElapsedTime | The maximum amount of time we will frameskip over and only perform Update calls with no Draw calls. MonoGame extension. | ||
Services | |||
TargetElapsedTime | |||
Window |
Platforms | Name | Description | |
---|---|---|---|
BeginDraw | |||
BeginRun | |||
Dispose() | (Implements IDisposable.Dispose().) | ||
Dispose(bool) | |||
Draw | |||
EndDraw | |||
EndRun | |||
Exit | |||
Finalize | (Overrides object.Finalize().) | ||
Initialize | |||
LoadContent | |||
OnActivated | |||
OnDeactivated | |||
OnExiting | |||
ResetElapsedTime | |||
Run(GameRunBehavior) | |||
Run() | |||
RunOneFrame | |||
SuppressDraw | |||
Tick | |||
UnloadContent | |||
Update |
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web