Go Back To The Portfolio |
Spaceship |
The spaceship program demonstrates a spaceship flying around in a two dimensional world. The world is a wrap around world. When the ship flies out of view in one direction it begins to appear flying in from the other direction. The user is able to rotate the ship, increase and decrease the speed of the ship and reset its location and speed to its initial values. This program also assumes that there is no other force acting upon the ship except for the acceleration that it causes on itself |
|
This is the source code file. |
Spaceship.java |