Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Game.ResetElapsedTime Method

Resets the elapsed time counter.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

public void ResetElapsedTime ()

Use this method if your game is recovering from a slow-running state, and the ElapsedGameTime or ElapsedRealTime is too large to be useful.

Xbox 360, Windows XP SP2, Windows Vista

Community Additions

Show:
© 2016 Microsoft