Having some issues -
02-28-2008, 02:35 PM
Playing around with this exercise:
Your team has created a snowman as the centerpiece of an entry in teh Winter Snow Festival competition. To attract attraction to your display, you have set up colored spotlights that will turn the color of the snowman any one of four different colors. Create an initial world with four spotlights (spheres from the Shapes folder, of four different colors) and a snowman. Write only one method to change the color of the snowman. When the user clicks on a spotlight pass the color of the spotlight to the method and make the snowman change to be that color.
I can't figure out how to do that in one method for the life of me. Any hints?
|