Esempio n. 1
0
 protected override void UpdateEffect(GameTime gameTime, View view)
 {
     if (Acceleration != Vector2.Zero) {
         Velocity = Vector2.Add (Velocity, Acceleration);
     }
     view.PositionAdd(Velocity);
 }