Serialized Form


Package javoids

Class javoids.BasicSprite extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

health

Health health
the sprite's health information


automaticMove

boolean automaticMove
is the sprite supposed to move automatically?


displayAreas

boolean displayAreas
should the areas be displayed (drawn) for this sprite


gravity

BasicSprite.Gravity gravity
the gravity type of the sprite


homing

boolean homing
is the sprite a homing sprite?


move

Move move
the movement information


parent

BasicSprite parent
what is the parent sprite to this sprite?


player

boolean player
is this sprite a player?


points

int points
the number of points this sprite is worth when shot


rotationAngle

double rotationAngle
theamount to rotate when turning


size

int size
the sprite size

Class javoids.Bullet extends ShieldedSprite implements Serializable

serialVersionUID: 1L

Serialized Fields

shielded

boolean shielded
is the bullet shielded


weapon

Item.Type weapon
the weapon that shot this bullet

Class javoids.Common extends java.lang.Object implements Serializable

serialVersionUID: 1L

Class javoids.Debug extends java.lang.Object implements Serializable

serialVersionUID: 1L

Class javoids.Explosion extends ShieldedSprite implements Serializable

serialVersionUID: 1L

Class javoids.GravityPoint extends Sprite implements Serializable

serialVersionUID: 1L

Class javoids.Health extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

agingRate

int agingRate
the amount that the sprite ages after each delay


damage

int damage
the sprite's damage level


duration

int duration
the sprite's duration time


deaths

int deaths
the number of deaths the sprite has


maxDamage

int maxDamage
the sprite's maximum damage level


maxDuration

int maxDuration
the sprite's maximum duration


maxDeaths

int maxDeaths
the maxmimum number of deaths the sprite has


state

Health.DurationType state
the state of the sprite's duration type

Class javoids.HighScorePanel extends javax.swing.JPanel implements Serializable

serialVersionUID: 1L

Serialized Fields

highScores

java.util.ArrayList<E> highScores
a list of high score information

Class javoids.ImageMap extends java.lang.Thread implements Serializable

serialVersionUID: 1L

Class javoids.Item extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

type

Item.Type type
the type of item (the item name)


name

java.lang.String name
the text version of the item name


limitless

boolean limitless
is the item limitless?


defaultImage

ImageMap.Name defaultImage
the default image to use for drawing


image

ImageMap.Name image
the current image to use for drawing


sound

SoundMap.Sound sound
the sound to play when used


maximumCount

int maximumCount
the maximum number of uses


count

int count
the number of uses left


defaultCount

int defaultCount
the default number of uses


size

int size
the size of the item (for drawing)

Class javoids.ItemLoader extends org.xml.sax.helpers.DefaultHandler implements Serializable

serialVersionUID: 1L

Serialized Fields

fileName

java.lang.String fileName
the file name to load


items

java.util.HashMap<K,V> items
a mapping of item names to items


item

Item item
a built item


isType

boolean isType
is an item type being processed?


isName

boolean isName
is an item name being processed?


isImmortal

boolean isImmortal
is an item immortality being processed?


isDefaultImage

boolean isDefaultImage
is an item default image being processed?


isImage

boolean isImage
is an item image being processed?


isSound

boolean isSound
is an item sound being processed?


isDefaultCount

boolean isDefaultCount
is an item default count being processed?


isMaximumCount

boolean isMaximumCount
is an item maximum count being processed?


isSize

boolean isSize
is an item size being processed?


isBulletImage

boolean isBulletImage
is an item bullet image being processed?


isShieldedImage

boolean isShieldedImage
is an item shielded image being processed?


isHomingImage

boolean isHomingImage
is an item homing image being processed?


isShieldedHomingImage

boolean isShieldedHomingImage
is an item shielded homing image being processed?


isDamage

boolean isDamage
is an item damage being processed?


isMaximumFired

boolean isMaximumFired
is an item maximum firred being processed?


isRange

boolean isRange
is an item range being processed?


isVelocity

boolean isVelocity
is an item velocity being processed?


isDirections

boolean isDirections
is an item directions being processed?

Class javoids.Javoid extends ShieldedSprite implements Serializable

serialVersionUID: 1L

Class javoids.Javoids extends javax.swing.JApplet implements Serializable

serialVersionUID: 1L

Serialized Fields

javoids

SpriteVector<E extends BasicSprite> javoids
a list of all javoids


mines

SpriteVector<E extends BasicSprite> mines
a list of all mines


explosions

SpriteVector<E extends BasicSprite> explosions
a list of all explosions


powerUps

SpriteVector<E extends BasicSprite> powerUps
a list of all powerups


singularitys

SpriteVector<E extends BasicSprite> singularitys
a list of all singularities


bullets

SpriteVector<E extends BasicSprite> bullets
a list of all bullets


ships

SpriteVector<E extends BasicSprite> ships
a list of all ships


gravityPlane

SpriteVector<E extends BasicSprite> gravityPlane
a list of all gravitry points


powerUpTimer

javax.swing.Timer powerUpTimer
a timer for powerup scheduling


mineTimer

javax.swing.Timer mineTimer
a timer for mine scheduling


singularityTimer

javax.swing.Timer singularityTimer
a timer for singularity scheduling


javoidTimer

javax.swing.Timer javoidTimer
a timer for javoid scheduling


shipTimer

javax.swing.Timer shipTimer
a timer for ship scheduling


eatableGhostTimer

javax.swing.Timer eatableGhostTimer
a timer for determining when to switch ghosts back so they can't be eaten


bonusTimer

javax.swing.Timer bonusTimer
a timer for determining when to decrement the bonus


highScoreTimer

javax.swing.Timer highScoreTimer
a timer for determining when to display the high score table after the game is over


playTimer

javax.swing.Timer playTimer
a timer for determining how long play was


oldWidth

int oldWidth
the old game width


oldHeight

int oldHeight
the old game height


fontCourierNew

java.awt.Font fontCourierNew
courier new font


editorPane

javax.swing.JEditorPane editorPane
an editor pane to display files


scrollPane

javax.swing.JScrollPane scrollPane
a scroll pane to allow scrolling


helpPanel

javax.swing.JPanel helpPanel
a panel to display help information


keyDialog

KeyDialog keyDialog
a dialog to modify the key code to action settings


menuPopup

javax.swing.JPopupMenu menuPopup
a popup menu


menuBar

javax.swing.JMenuBar menuBar
the menu bar


fileMenu

javax.swing.JMenu fileMenu
the file menu


fileNew

javax.swing.JMenuItem fileNew
the file | new menu item


fileScores

javax.swing.JMenuItem fileScores
the file | high score menu item


fileExit

javax.swing.JMenuItem fileExit
the file | exit menu item


optionMenu

javax.swing.JMenu optionMenu
the option menu


optionDifficulty

javax.swing.JMenuItem optionDifficulty
the option | difficulty menu item


optionDelay

javax.swing.JMenuItem optionDelay
the option | delay menu item


optionLives

javax.swing.JMenuItem optionLives
the option | lives menu item


optionKeyBinding

javax.swing.JMenuItem optionKeyBinding
the option | key bindings menu item


optionUserKeyMap

javax.swing.JCheckBoxMenuItem optionUserKeyMap
the option | user key map menu item


optionMouseMove

javax.swing.JCheckBoxMenuItem optionMouseMove
the option | mouse move menu item


optionSound

javax.swing.JCheckBoxMenuItem optionSound
the option | sound menu item


optionVolume

javax.swing.JMenuItem optionVolume
the option | volume menu item


optionAreaChecking

javax.swing.JCheckBoxMenuItem optionAreaChecking
the option | area checking menu item


helpMenu

javax.swing.JMenu helpMenu
the help menu


helpReadMe

javax.swing.JMenuItem helpReadMe
the help | readme menu item


helpVersion

javax.swing.JMenuItem helpVersion
the help | version menu item


helpLicense

javax.swing.JMenuItem helpLicense
the help | license menu item


helpAbout

javax.swing.JMenuItem helpAbout
the help | about menu item


actionNew

javax.swing.AbstractAction actionNew
an action to create a new game


actionScores

javax.swing.AbstractAction actionScores
an action to start a new game


actionExit

javax.swing.AbstractAction actionExit
an action to exit the game


actionDifficulty

javax.swing.AbstractAction actionDifficulty
an action to adjust the difficulty


actionDelay

javax.swing.AbstractAction actionDelay
an action to ajdust the delay


actionLives

javax.swing.AbstractAction actionLives
an action to change the beginning number of lives


actionUserKeyMap

javax.swing.AbstractAction actionUserKeyMap
an action to toggle between the default and user key maps


actionMouseMove

javax.swing.AbstractAction actionMouseMove
an action to toggle between using the keyboard only or keyboard and mouse to move


actionSound

javax.swing.AbstractAction actionSound
an action to toggle the sound on/off


actionVolume

javax.swing.AbstractAction actionVolume
an action to adjust the volume


actionAreaChecking

javax.swing.AbstractAction actionAreaChecking
an action to toggle between area checking and circular bounds collision detection


actionKeyBinding

javax.swing.AbstractAction actionKeyBinding
an action to adjust the key code to action bindings


actionReadMe

javax.swing.AbstractAction actionReadMe
an action to view the readme file


actionVersion

javax.swing.AbstractAction actionVersion
an action to view the version file


actionLicense

javax.swing.AbstractAction actionLicense
an action to view the license file


actionAbout

javax.swing.AbstractAction actionAbout
an action to view the about information


startButton

javax.swing.JButton startButton
the start button


infoLabel

javax.swing.JLabel infoLabel
a lable to display game information


panelAmmo

javax.swing.JPanel panelAmmo
a panel to display each weapon's ammunition


infoPanel

javax.swing.JPanel infoPanel
a panel to display game information


highScorePanel

HighScorePanel highScorePanel
the high score panel


infiniteIcon

javax.swing.ImageIcon infiniteIcon
an icon for the infinity symbol


selectedBorder

javax.swing.border.LineBorder selectedBorder
a line border for decoration of frames


gameCanvas

java.awt.Canvas gameCanvas
the game canvas where drawing is performed


cursorDefault

java.awt.Cursor cursorDefault
the default cursor


cursorCrosshair

java.awt.Cursor cursorCrosshair
the crosshair cursor (for mouse move)


screen

java.awt.Rectangle screen
the screen bounds


panelWeapon

java.util.HashMap<K,V> panelWeapon
a panel to display the weapon information


progressBarHealth

javax.swing.JProgressBar progressBarHealth
a bar to display the health level


progressBarShield

javax.swing.JProgressBar progressBarShield
a bar to display the shield's health level


progressBarBonus

javax.swing.JProgressBar progressBarBonus
a bar to display the amount of a bonus remaining


isFirstGame

boolean isFirstGame
is this the first game?


isGameStarted

boolean isGameStarted
is the game started?


isRunning

boolean isRunning
is the game running?


isGameOver

boolean isGameOver
is the game over?


isPacmanGame

boolean isPacmanGame
is it a pacman game?


isEatableGhost

boolean isEatableGhost
are the ghosts edible?


isMouseMove

boolean isMouseMove
is the mouse allowed to move the player


isUserKeyMap

boolean isUserKeyMap
is the user using his own keymap?


isSound

boolean isSound
is the sound on?


isAreaChecking

boolean isAreaChecking
is area checking being used?


isScreenInitialized

boolean isScreenInitialized
is the screen initialized?


lives

int lives
the number of lives a player should have


bonus

int bonus
the bonus amount of points to award at the end of a level


shipPlayer

Ship shipPlayer
the player's ship


mouseMove

Move mouseMove
the mouse's location


level

int level
the game level


playTime

int playTime
the play duration


duration

java.lang.String duration
the formatted play duration

Class javoids.KeyDialog extends javax.swing.JDialog implements Serializable

serialVersionUID: 1L

Serialized Fields

successStatus

boolean successStatus
Was the result successful?


KeyMainMenu

javax.swing.JMenuBar KeyMainMenu
the main menu for this dialog


keyFileMenu

javax.swing.JMenu keyFileMenu
the file menu


keyFileOpenItem

javax.swing.JMenuItem keyFileOpenItem
the file | open menu item


keyFileSaveItem

javax.swing.JMenuItem keyFileSaveItem
the file | save menu item


keyFileExitItem

javax.swing.JMenuItem keyFileExitItem
the file | exit menu item


scrollPane

javax.swing.JScrollPane scrollPane
a scroll pane to controll scrolling in the dialog


panel

javax.swing.JPanel panel
a panel to hold the screen controls


tablePanel

javax.swing.JPanel tablePanel
a panel to hold the keyboar buttons


borderLayout1

java.awt.BorderLayout borderLayout1
a layout for panels


keyMap

KeyMap keyMap
aa mapping of key names to key values


buttonPanel

javax.swing.JPanel buttonPanel
a panel to hold the okay/cancel buttons


okButton

javax.swing.JButton okButton
okay button


cancelButton

javax.swing.JButton cancelButton
cancel button


menuPopup

javax.swing.JPopupMenu menuPopup
popup menu


currentKey

java.lang.String currentKey
the currently selected key

Class javoids.KeyMap extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

actionKey

java.util.Hashtable<K,V> actionKey
a mapping of actions to key codes


keyAction

java.util.Hashtable<K,V> keyAction
a mapping of key codes to actions

Class javoids.Media extends java.lang.Object implements Serializable

serialVersionUID: 1L

Class javoids.Mine extends ShieldedSprite implements Serializable

serialVersionUID: 1L

Class javoids.Move extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

screen

java.awt.Rectangle screen
the screen dimensions and location


maxVelocity

double maxVelocity
the maximum velocity for this object


direction

double direction
the direction the object is moving

Class javoids.PowerUp extends ShieldedSprite implements Serializable

serialVersionUID: 1L

Serialized Fields

items

java.util.HashMap<K,V> items
a mapping of item names to items


extraAlive

Health extraAlive
extra health information


extraGravity

BasicSprite.Gravity extraGravity
extra gravity related information


extraGravityDuration

int extraGravityDuration
extra gravity duration information (how long a gravity effect will last)

Class javoids.ProgressFrame extends javax.swing.JFrame implements Serializable

serialVersionUID: 1L

Serialized Fields

imagePanel

javax.swing.JPanel imagePanel
a panel to hold the image


progressBar

javax.swing.JProgressBar progressBar
a progress bar to display what percent of the set-up is done

Class javoids.Shapes extends java.lang.Object implements Serializable

serialVersionUID: 1L

Class javoids.Shield extends Sprite implements Serializable

serialVersionUID: 1L

Class javoids.ShieldedSprite extends Sprite implements Serializable

serialVersionUID: 1L

Serialized Fields

shield

Shield shield
the ship's sheild

Class javoids.Ship extends ShieldedSprite implements Serializable

serialVersionUID: 1L

Serialized Fields

freeLives

int freeLives
the number of free lives rewarded


items

java.util.HashMap<K,V> items
a mapping of item names to items that this sprite possesses


currentItem

Item.Type currentItem
the current item (GUN1 is always available)


gravityDuration

int gravityDuration
the duration for the current gravity effect


soundAfterburner

boolean soundAfterburner
is the afterburner sound to be played?

Class javoids.Singularity extends GravityPoint implements Serializable

serialVersionUID: 1L

Serialized Fields

initialSize

int initialSize
the initial size of the singularity

Class javoids.SoundMap extends java.lang.Thread implements Serializable

serialVersionUID: 1L

Class javoids.Sprite extends BasicSprite implements Serializable

serialVersionUID: 1L

Serialized Fields

shield

Shield shield
the shield protecting the sprite


imageNumber

ImageMap.Name imageNumber
the image name representing the sprite


originalImageNumber

ImageMap.Name originalImageNumber
the original image name


shape

Shapes.Shape shape
the sprite's shape


initialX

double initialX
the initial x coordinate


initialY

double initialY
the initial y coordinate


areas

java.util.Vector<E> areas
the areas representing this sprite's shape


colors

java.util.Vector<E> colors
the colors that correspond to a sprite's areas

Class javoids.SpriteVector extends java.util.Vector<E extends BasicSprite> implements Serializable

serialVersionUID: 1L

Class javoids.TextLoader extends java.lang.Thread implements Serializable

serialVersionUID: 1L

Serialized Fields

fileData

java.lang.StringBuffer fileData
The buffer to use for loading files.


fileName

java.lang.String fileName
The file name to use.

Class javoids.ToolPanel extends javax.swing.JPanel implements Serializable

serialVersionUID: 1L

Serialized Fields

labelTool

javax.swing.JLabel labelTool
a label for the tool (which shows the icon for the tool)


labelToolAmount

javax.swing.JLabel labelToolAmount
a label for the tool (which shows the number of uses left)


name

Item.Type name
the item name for this tool

Class javoids.Weapon extends Item implements Serializable

serialVersionUID: 1L

Serialized Fields

bulletImage

ImageMap.Name bulletImage
the weapon's regular image


shieldedImage

ImageMap.Name shieldedImage
the shielded image (for display in the panel)


homingImage

ImageMap.Name homingImage
the homing image (for display in the panel)


shieldedHomingImage

ImageMap.Name shieldedHomingImage
the shielded homing image (for display in the panel)


damage

int damage
the weapon damage per bullet


maximumFired

int maximumFired
the maximum number of times the weapon can be fired


range

int range
the range of the weapon


velocity

int velocity
the velocity of the bullets fired from this weapon


directions

int directions
the number of directions the weapon fires


shields

int shields
the number of sheidled bullets the weapon has


homings

int homings
the number of hoing bullets the weapon has


fired

int fired
the number of bullets fired