Introduction to Object Oriented Programming, 3rd Ed
Chapter 7
Case Study: A Billiards Game
Outline
- Purpose of Chapter
- Picture of Billiards Table
- Graphical Object Class
- Objects must be initialized
- Graphical Objects can Draw themselves
- Objects can be Hit
- Balls move when updated
- Reaction to Mouse Down Events
- Using Inheritance
Source Code
Other Material
Intro OOP, Chapter 7, Slide 1