Game.Tick Method

Updates the game's clock and calls Update and Draw.

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

Syntax

public void Tick ()

Remarks

In a fixed-step game, Tick calls Update only after a target time interval has elapsed.

In a variable-step game, Update is called every time Tick is called.

See Also

Reference

Game Class
Game Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP