Serialized Form


Package gameboard

Class gameboard.AbsThreadedJP extends javax.swing.JPanel implements Serializable

Serialized Fields

runner

java.lang.Thread runner
Handles the games animation thread.


running

boolean running
The current run state of the game. The thread will continue to run while true.


gameFinished

boolean gameFinished
The status of the game, whether it is finished or not.


notStarted

boolean notStarted
The state of the start of the game, if it has been started or not.


dbImage

java.awt.Image dbImage
The double buffer image used to help eliminate flicker.


g2d

java.awt.Graphics2D g2d
The 2D graphics of dbImage.


pauseGame

boolean pauseGame
The pause state of the game. Nothing is done if the game is paused.


notMoved

boolean notMoved
State used to control new direction input from keyboard. Only allows one direction change between worm moves.


level

int level
The current level the player is on.


board

int board
The current board layout being played.


bgColor

java.awt.Color bgColor
The color of the back ground.


gameSleep

int gameSleep
The game sleep time, decreased as level increases.


propertySupport

java.beans.PropertyChangeSupport propertySupport
The property change support for when a property changes.

Class gameboard.CurrentPlayerPanel extends OthelloCell implements Serializable

Class gameboard.OthelloBoard extends javax.swing.JPanel implements Serializable

Serialized Fields

gameBoard

OthelloCell[][] gameBoard
The cells that make up the game board.


currentPlayer

java.awt.Color currentPlayer
The color of the current player.


propertySupport

java.beans.PropertyChangeSupport propertySupport
The property change support for when a property changes.

Class gameboard.OthelloCell extends AbsThreadedJP implements Serializable

Serialized Fields

theSprite

Sprite2D theSprite
The circle sprite that represents the piece placed by a player.


underSideSprite

Sprite2D underSideSprite
The circle sprite for the underside.


filled

boolean filled
If the panel is filled or not.


thePoint

java.awt.Point thePoint

currentPlayer

java.awt.Color currentPlayer

Class gameboard.ScorePanel extends OthelloCell implements Serializable

Serialized Fields

whiteScore

int whiteScore
The white players score.


blackScore

int blackScore
The black players score.


Package main

Class main.EangTermProject extends javax.swing.JApplet implements Serializable

Serialized Fields

gameBoard

OthelloBoard gameBoard
The panel for the othello game board.


currentPlayer

OthelloCell currentPlayer
The panel that shows who the current player is.


currentScore

OthelloCell currentScore
The panel that shows the current score.


theMenuBar

javax.swing.JMenuBar theMenuBar
The menu bar that displays the menu.


fileMenu

javax.swing.JMenu fileMenu
The file menu.


startItem

javax.swing.JMenuItem startItem
The start menu item under the file menu.


previousPauseState

boolean previousPauseState
The pause state of the game.


Package rules

Class rules.AbRuleBean extends java.lang.Object implements Serializable

Serialized Fields

propertySupport

java.beans.PropertyChangeSupport propertySupport
The property change support for when a property changes.

Class rules.DownLeftRuleBean extends AbRuleBean implements Serializable

Class rules.DownRightRuleBean extends AbRuleBean implements Serializable

Class rules.DownRuleBean extends AbRuleBean implements Serializable

Class rules.LeftRuleBean extends AbRuleBean implements Serializable

Class rules.RightRuleBean extends AbRuleBean implements Serializable

Class rules.UpLeftRuleBean extends AbRuleBean implements Serializable

Class rules.UpRightRuleBean extends AbRuleBean implements Serializable

Class rules.UpRuleBean extends AbRuleBean implements Serializable


Package sprite

Class sprite.Sprite extends java.lang.Object implements Serializable

Serialized Fields

propertySupport

java.beans.PropertyChangeSupport propertySupport
The property change support for when a property changes.


visible

boolean visible
Whether the sprite is visible or not.


active

boolean active
Whether the sprite is active or not.


Package sprite.sprite2d

Class sprite.sprite2d.OvalSprite extends Sprite2D implements Serializable

Class sprite.sprite2d.Sprite2D extends Sprite implements Serializable

Serialized Fields

xPosition

double xPosition
The horizontal x position of the CENTER of the sprite.


yPosition

double yPosition
The verticle y position of the CENTER of the sprite.


width

int width
The horizontal width of the sprite.


height

int height
The verticle height of the sprite.


spriteColor

java.awt.Color spriteColor
The color of the sprite.


fill

boolean fill
The fill state of the sprite.


startX

double startX
starting x position


startY

double startY
starting y position