CSSE 220 – Object-Oriented Software Development
Homework 6
Objectives
Practice creating, documenting, and testing classes based on a given public interface. More graphics and math practice.
Tasks
-
Complete the assigned reading for the next session, according to the course schedule.
- As you read, see if you can answer the self-check questions.
- Bring your questions to class!
-
Complete the assessment exercise over this reading on ANGEL (under Lessons → Assignments).
-
Programming:
- Continue the Faces project, as follows:
- Continue the Faces project by implementing rotations,
as suggested by the picture below. In particular:
- Make your Face constructor able to set the angle of the face in degrees (NOT radians).
- Make your Face drawOn method draw the Face at its specified angle.
- Implement your Face rotate method.
Faces starting at 0° and rotated -30° for each successive face.
Turn-in Instructions
Turn in your programming work by committing it to your SVN repository.