I started off by simply modifying the WormChase application and replacing the Worm and Obstacle classes with 4 new MovingObject classes. Currently I'm using a MovingObject interface, and just implementing that interface with the Ball, Square, and Circle objects.
I haven't touched the rest of the application yet and I'll probably end up re-writing most of the main-loop stuff shortly.
The image is of the ball and square going up and down/side to side.
No comments:
Post a Comment