public override void Update(GameTime gameTime) { // smoothly move to the target position Vector2 diff = TargetPosition - LocalPosition; velocity = diff * 8; base.Update(gameTime); // update the glitter field glitters.Update(gameTime); }
public override void Update(GameTime gameTime) { base.Update(gameTime); glitters.Update(gameTime); }