next up previous
Next: Make all snowpeople pregnant Up: Assignment 4: Snowpeople! Previous: With a corn-cob pipe...

Make Mrs. Snowperson pregnant

1.
I realize that this is a little risqué, but there is a point. Modify the main method so that it draws a baby snowperson inside the abdomen oval of Mrs. Snowperson. Notice that adding something to main affects just one snowperson. Adding something to paintSnowperson affects all snowpeople.



Allen B. Downey
2/25/1998