GameComponent.Update Method
Called when the GameComponent needs to be updated. Override this method with component-specific update code.
Syntax
'Declaration
Public Overridable Sub Update ( _
gameTime As GameTime _
)
public virtual void Update (
GameTime gameTime
)
public:
virtual void Update(
GameTime gameTime
)
Parameters
- gameTime
Type: GameTime
Time elapsed since the last call to Update
Requirements
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Reference
GameComponent Class
GameComponent Members
Microsoft.Xna.Framework Namespace
Platforms
Windows Phone