Chapter 3: Implementing Classes
Generalizing Last Friday's Code
The code below is
- More general - using variables allows the house to be drawn anywhere
- More object oriented - the House class allows a house to be drawn
multiple times, not just once
Lecture Code