Introduction to OOP: Chapter 8: The Solitaire Game
[next]
[previous]
[audio]
[real]
[text]
Features to Note
-
A graphics context is passed as argument.
-
A large number of drawing primitives are available in the standard
library, as member functions for this graphics object.
-
Constants such as Color.red Color.black
-
If you want to get fancy, there are routines for printing bit-maps.
-
Note how every card is responsible for itself.
Intro OOP, Chapter 8, Slide 7