Homework #4 -- sample code

The instructor's version of homework #4 consists of two source files, EventTest04.java and Ship04.java.

The sample code implements the extra-credit 'rotation' capability. Here is a screen dump of the program in action (click the image for a full-size version):