Class | Description |
---|---|
Asteroid |
The asteroid class is a subclass of Polygon and holds the data and methods
needed to draw and move the asteroids.
|
GameBoard |
Holds the information needed for creation of the game board
and also is used as the main driver for the application.
|
GameDrawingPanel |
The GameDrawingPanel class extends JComponent and contains the objects
that will be used in the game.
|
Key |
Holds the values for common keys used in the game.
|
Laser |
Contains the data and instructions for movement
for the lasers shot in the game.
|
RepaintTheBoard |
Implements Runnable interface.
|
Sound |
Holds the locations of the sound files and handles playing of the sounds for the game.
|
SpaceShip |
Holds data needed for the drawing and
movement of the space ship for the game.
|
WelcomeScreen |
Displays a new welcome screen at the start of the game with
options for the user to select the number of asteroids and
whether sound should be on or off.
|