Ejemplo n.º 1
0
 public void Launch()
 {
     if (Keyboard.GetState().IsKeyDown(Keys.Space) && attachedToPaddle != null)
     {
         velocity         = new Vector2(15, attachedToPaddle.GetVelocity().Y);
         attachedToPaddle = null;
     }
 }