When the user clicks on a spotlight pass the color of the


Snow Festival

Your team has created a snowman as the centerpiece of an entry in the 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, as shown below. 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.

2246_4d55386b-29ec-46e5-a9ab-90de97823f5f.png

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: When the user clicks on a spotlight pass the color of the
Reference No:- TGS01495918

Expected delivery within 24 Hours