Example #1
0
 void update()
 {
     // Before moving the paddle, we'll process player input,
     // changing the paddle's velocity.
     processPlayerInput();
     shape.move(velocity);
 }
Example #2
0
 void update()
 {
     processPlayerInput();
     shape.move(velocity);
 }