Serialized Form
asteroidsgame
AsteroidsGame asteroidsgame
- The game object that holds all of our sprites.
currentsoundfilename
java.lang.String currentsoundfilename
detail
boolean detail
- A flag used to toggle more detail in the image. Detail includes background
stars and filling in the asteroids. Turn this off for greater speed.
font
java.awt.Font font
- The font to use onscreen.
fontHeight
int fontHeight
fontmetric
java.awt.FontMetrics fontmetric
fontWidth
int fontWidth
offDimension
java.awt.Dimension offDimension
- Size of the offscreen buffer.
offGraphics
java.awt.Graphics offGraphics
- Graphics of the offscreen buffer.
offImage
java.awt.Image offImage
- Image of the offscreen buffer.
timestep
double timestep
- Use this to time how long the updates take. Our initial strategy is
just to force it to stay constant. Later we might try adaptively changing it.
trueapplet
boolean trueapplet
- Flag for whether this is being run as a true applet or simply as an application.
It makes a difference in the loadsounds method.