GameComponent.Update Method

Called when the GameComponent needs to be updated. Override this method with component-specific update code.

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

Syntax

public virtual void Update (
         GameTime gameTime
)

Parameters

  • gameTime
    Type: GameTime
    Time elapsed since the last call to Update

See Also

Reference

GameComponent Class
GameComponent Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP