public update ( GameTime gameTime ) : void | ||
gameTime | GameTime | Provides a snapshot of timing values. |
return | void |
public virtual void update(GameTime gameTime)
{
}
/// <summary> /// Allows the game component to update itself. /// </summary> /// <param name="gameTime">Provides a snapshot of timing values.</param> public override void Update(GameTime gameTime) { // Calculate the base transformation by combining translation, rotation, and scaling cModel.updateBaseWorld(unit.position, unit.rotation, unit.scale, unit.baseWorld); unit.update(gameTime); base.Update(gameTime); }