GameTimer Members

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

Public Constructors

Name Description
Public Method GameTimer Creates a new GameTimer.

Public Properties

Name Description
Public Property DrawOrder Gets or sets the sort order of draw actions for this instance.
Public Property FrameActionOrder Gets or sets the sort order of frame actions for this instance.
Public Property UpdateInterval Gets or sets the update interval for the action.
Public Property UpdateOrder Gets or sets the sort order of update actions for this instance.

Public Methods

Name Description
Public Method Dispose Immediately releases the unmanaged resources used by this object.
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method Static ResetElapsedTime Resets the game timing state for all GameTimers.
Public Method Start Starts the GameTimer instance so it will begin firing actions.
Public Method Stop Stops the GameTimer instance from firing actions.
Public Method Static SuppressFrame Supresses all remaining FrameAction, Update and Draw events from firing this frame for all GameTimers.
Public Method ToString (Inherited from Object.)

Protected Methods

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

Public Events

Name Description
Public Event Draw An action that is fired once per frame to tell a game to draw itself.
Public Event FrameAction An action that is fired to allow a game to do a per-frame update.
Public Event Update An action fired at an update interval as specified by the UpdateInterval property.

See Also

Reference

GameTimer Class
Microsoft.Xna.Framework Namespace