GameTime Members

The following tables list the members exposed by the GameTime type.

Public Constructors

Name Description
Public Method GameTime Overloaded. Creates a new instance of GameTime.

Public Properties

Name Description
Public Property ElapsedGameTime The amount of elapsed game time since the last update.
Public Property ElapsedRealTime The amount of elapsed real time (wall clock) since the last frame.
Public Property IsRunningSlowly Gets a value indicating that the game loop is taking longer than its TargetElapsedTime. In this case, the game loop can be considered to be running too slowly and should do something to "catch up."
Public Property TotalGameTime The amount of game time since the start of the game.
Public Property TotalRealTime The amount of real time (wall clock) since the start of the game.

Public Methods

Name Description
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method ReferenceEquals (Inherited from Object.)
Public Method ToString (Inherited from Object.)

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Reference

GameTime Class
Microsoft.Xna.Framework Namespace