Serialized Form


Package Contest1

Class Contest1.AboutThis implements Serializable

Class Contest1.Board implements Serializable

Serialized Fields

gameboard

GameBoard gameboard
The GameBoard to contain.

Class Contest1.Cell implements Serializable

Serialized Fields

isalive

boolean isalive
The state of this cell.

neighbors

int[][] neighbors
Triangles have 12 neighbors.

point_up

boolean point_up
Tells whether this triangle is situated on baord with its point up or down.

pointDownNeighborCol

byte[] pointDownNeighborCol
The offset column indicies for "point down" neighbors.

pointDownNeighborRow

byte[] pointDownNeighborRow
The offset row indicies for "point down" neighbors.

pointUpNeighborCol

byte[] pointUpNeighborCol
The offset column indicies for "point up" neighbors.

pointUpNeighborRow

byte[] pointUpNeighborRow
The offset row indicies for "point up" neighbors.

Class Contest1.GameBoard implements Serializable

Serialized Fields

boundary

Rectangle boundary
The boundary of the virtual board.

ccols

int ccols
The number of visible cell columns.

cell_color

Color cell_color
The color of the cells.

cells

Cell[][] cells
The board's cells.
See Also:
Cell

crows

int crows
The number of visible cell rows.

generation

long generation
The current generation of the board.

row_rect

Rectangle[] row_rect
An array of rectangles that describes the boundary of each cell row.
See Also:
Rectangle

t

Thread t
Animation thread.

threadSuspended

boolean threadSuspended
State of the animation thread.

vcols

int vcols
The number of virtual cell columns.

vrows

int vrows
The number of virtual cell rows.

Class Contest1.GameController implements Serializable

Serialized Fields

about

JMenu about

aboutThis

JMenuItem aboutThis

center

JPanel center

exit

JMenuItem exit

gameboard

GameBoard gameboard

glider

JMenuItem glider

increment

JButton increment

layout

JMenuItem layout

menuBar

JMenuBar menuBar

menugame

JMenu menugame

oscillator

JMenuItem oscillator

pause

JButton pause

randomize

JMenuItem randomize

resume

JButton resume

south

JLabel south

startGame

JMenuItem startGame

statusBar

JLabel statusBar

stop

JButton stop

t

Thread t

threadSuspended

boolean threadSuspended