A Class in Java allows us to define the properties and behaviors that instances of that class have; these class instances are known as objects. Since a class is meant to provide the shared properties and behaviors of all objects of that class, we need to define them in such a way that they are applicable to all objects.
In this assignment, you will be rewriting and writing methods that are applicable to all objects. In homework #2, some of you defined methods that are really applicable only to one picture and not to all. Perhaps you did that because the authors of the book did this. For example, copyKatiesFace() is a method that copies just Katie's face to the current picture object, the method cannot be used to copy some part of any picture onto another, that is what we're after!. The authors did improve on this by providing a more general copyPictureTo() method. We will follow this lead and write methods that are generally applicable to all objects.Note: some of you have designed methods that are already generally applicable to all Picture objects, so you'll have very little to do to meet these requirements. Others will have to do more work as many of the methods written for assignment #1 dealt with one picture only -- like copyKatiesPicture(). I can help everyone during labs to determine the best course of action.
The objectives of this assignment are twofold. One, you must redefine existing methods so that every method is generally applicable to all objects (e.g. like copyPictureTo()). Second, you are to use the Turtle object to draw shapes you design on your collage. Remember that a Turtle object can draw on a Picture; some of you already did this in homework #1.
You must submit the Java code via e-mail only. As usual, to submit your code electronically, send via e-mail the files Picture.java, your Java main program (call it what you like, as long as it's a good name), and the resulting image collage.
You may collaborate with one student from this class in order to satisfy the requirements from this assignment. Each student is required to create his/her own original collage and thus must be different from the collage created by the student whom you collaborate with. That is, you can help each other to create the collage but each of you need to submit different programs (step 3 above) that manipulate the pictures in different way to create your own unique collage and which use the Turtle to draw on the picture in a different way.