Пример #1
0
        public override void Update(GameTime gameTime)
        {
            Vector2 diff = TargetPosition - Position;

            velocity = diff * 8;
            base.Update(gameTime);
            glitters.Update(gameTime);
        }
Пример #2
0
 public override void Update(GameTime gameTime)
 {
     glitters.Update(gameTime);
     base.Update(gameTime);
 }