[first slide]

Introduction to Object Oriented Programming

Timothy A. Budd

Chapter 6

Case Study: A Billiards Game

Outline

  1. Purpose of Chapter
  2. Picture of Billiards Table
  3. Graphical Object Class
  4. Objects must be initialized
  5. Graphical Objects can Draw themselves
  6. Objects can be Hit
  7. Balls move when updated
  8. Reaction to Mouse Down Events
  9. Using Inheritance
Source Code

Other Material

Intro OOP, Chapter 6, Slide 1