Pick one of the following problems to do for your interclass problem.
1. Shape Drawing - Using your new found skills with GreenfootImage, I want you to draw something interesting. It needs to involve several shapes and different colors. Have your drawing as the image for an actor so that it can be moved around the world.
2. Polygons - Write a method called drawRegularPolygon(int n) in a World class. It should draw an n-sided regular polygon. So if you pass it 4 you get a square. If you pass 8 you will get a regular octagon. (Note that you will probably want to use Math.sin() and Math.cos() to do this.)
3. Making Change - Write a method called makeChange(int cents). When you call this method you pass how many cents you want to make change for. It should print out how many quarters, dimes, nickels, and pennies are needed to make change. The trick is that you want as few coins as possible. Assume you have unlimited change for doing this.
4. Mouse Drawing - Write code in the act method of a world class to make it so that the user can draw something with the mouse. I leave it up to you to decide what gets drawn. To do the drawing you should modify the GreenfootImage for the world class. Note that you can get and set that image with getBackground and setBackground.