Serialized Form

Class Cell implements Serializable

Serialized Fields

world

World world
A reference to the world in which this Cell exists.


position

Point position
The location of this Cell in the world.


mine

Mine mine
A reference to the mine on this Cell, if any.


marker

Marker marker
A reference to the mine on this Cell, if any.


hasMine

boolean hasMine
Whether the Cell has a mine or not;


hasMarker

boolean hasMarker
Whether the Cell has a marker or not;


isClear

boolean isClear
Whether the Cell has been cleared or not;


Class World implements Serializable

Serialized Fields

cellsPanel

Panel cellsPanel

colCount

int colCount
The number of columns in this world.


rowCount

int rowCount
The number of rows in this world.


mineCount

int mineCount
The number of mines in this world.


flaggedMines

int flaggedMines
The number of correctly flagged mines in this world.


flaggedNonMines

int flaggedNonMines
The number of flagged non-mine cells in this world.


cellClicks

int cellClicks
The number of cells the player has clicked so far.


gameOver

boolean gameOver
Whether game is in progress or over.


worldFrame

WorldFrame worldFrame
A reference to the WorldFrame containing this World.


cells

Cell[][] cells
A 2-dimensional array of cells in this world.


cellListener

World.CellListener cellListener


Class World.DefaultFrame implements Serializable


Class WorldFrame implements Serializable

Serialized Fields

world

World world

scoreCard

Label scoreCard

quitButton

Button quitButton



Generated by BlueJ