Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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, Zune

Community Additions

ADD
Show:
© 2015 Microsoft