Homework #3 (Inner/Nested Classes)

CMSC 132

Due Date: Thursday April 3, 6:00 pm

Object-Oriented Programming II

Type of Homework: Closed

Spring 2008


Objective

This project is designed to help you develop your skills at defining inner/nested classes  This homework is considered a closed homework.  Make sure you read the open/closed policy before continuing working on this project. 

Description

For this homework you will implement a method called setListener (part of the EyesController class) and any supporting classes that will allow us to control an animation. The animation consists of a pair of "Eyes" which look around in a circular pattern. The following video (EyesDemo.avi)illustrates the functionality associated with the application. Complete documentation for this project can be found at javadoc documentation.

Keep in mind that the provided code already implements a listener for mouse movements (the eyes will follow the mouse pointer). Your task is to expand the functionality of the application as follows:

From the Eyes class the only method you will need to use is the setPointerPosition. This class may not be modified.

Your project will be graded as follows:

Implementation Requirements

The following restrictions are associated with this homework:

Testing

Notice that there are no public/release/secret tests associated with this project. You do not need to provide any test cases.

Submission

Submit your project using the submit project option associated with Eclipse. 

Academic Integrity

Please make sure you read the academic integrity section of the syllabus so you understand what is permissible in our programming projects.  We want to remind you that we check your project against other students' projects and any case of academic dishonesty will be referred to the University's Office of Judicial Program