The paddle also needs methods: a) move - see move in BaseObject. The paddle moves horizontally, so we'll only change the x coordinate. Think about how the x coordinate depends on direction and speed. Implement that dependence. b) draw - see draw in BaseObject. I'll handle the code myself.
Arkanoid (part 17)
You must be signed in to leave a comment
This page doesn't have any comments yet