Next: Make Mrs. Snowperson pregnant
Up: Homework 4: Snowpeople!
Previous: With a corn-cob pipe...
- 1.
- Add a new method called paintShirt that takes the usual
parameters and that draws some sort of T-shirt logo within
the bounding box. You can use any of the drawing commands, although
you might want to avoid drawString because it is not easy to
guarantee that the string will fit within the bounding box.
- 2.
- Modify paintSnowperson so that it invokes paintShirt
in order to emblazon something on the chest (middle
oval) of each snowperson.
Allen B. Downey
1999-02-22