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
    Time elapsed since the last call to Update

See Also

Reference

GameComponent Class
GameComponent Members
Microsoft.Xna.Framework Namespace

Programming Guide

Application Model Overview

Platforms

Xbox 360, Windows XP SP2, Windows Vista