Ejemplo n.º 1
0
 private void MoveBall()//moving the ball around the form
 {
     score  = ball.BounceOffBrick(brick, score, bounce);
     bounce = ball.BounceOffpaddle(paddle, bounce);
     ball.BounceOffBottom();
     ball.Draw();
     ball.Move();
 }