Lab 18 structure
BBall class instance data: circle direction methods: __init__(self, color, center, dir=1) draw(self,win) move(self, win)
main() Part II set up the window make a ball put the ball in the window move the ball (or move all of the balls)
self.circle.getCenter().getY()
main() Part IIIA set up the window make a ball put the ball in the window repeat forever move the ball (or move all of the balls)
main() {art IIIC set up the window make a ball put the ball in the window repeat until q key clicked move all the ball close window
main() Part IV set up the window make a ball put the ball in the window repeat until q key clicked if the mouse was clicked, change bouncyBall's color move all the ball close window
to slow things down import time time.sleep(.03) #pause for 3/100 of a second