Save the current coordinates of the ball
The
moveBall
function in
Listing 4
begins by:
Saving the current coordinates of the center of the ball
For later use in erasing the current image of the ball.