0 out of 3 rated this helpful - Rate this topic

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 ElapsedGameTime is too large to be useful.

Xbox 360, Windows 7, Windows Vista, Windows XP
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ