Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Having some issues
Posts: n/a
Default 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?
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Copyright ©2023, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.