Serialized Form


Package gecco.client

Class gecco.client.Board extends JPanel implements Serializable

Serialized Fields

game

Game game
The Game object that keeps track of the pieces.


board

JComponent board
The "board" part of the board (the part where the map is drawn).


horizontalScrollbar

JScrollBar horizontalScrollbar
The scrollbars.


verticalScrollbar

JScrollBar verticalScrollbar
The scrollbars.


horScrollListener

AdjustmentListener horScrollListener
The adjustment listeners that update things when the user slides the scroll bars.


vertScrollListener

AdjustmentListener vertScrollListener
The adjustment listeners that update things when the user slides the scroll bars.


zoomInButton

JButton zoomInButton
The zoom in and zoom out buttons.


zoomOutButton

JButton zoomOutButton
The zoom in and zoom out buttons.


offscreenBuffer

Image offscreenBuffer
The offscreen buffer everything is drawn in. When we're done drawing, the contents of this buffer is pasted onto the board JComponent.


zoom

int zoom
The zoom factor. 0 means natural size (100% magnification), 1 means 200% magnification, -1 means 50% magnification (i.e. half the natural size), etc.


map

Map map
The map we're supposed to draw.


mapUL

Position mapUL
The uppermost, leftmost point in the automaton map that fits in the window.


boardUL

Point boardUL
The point on the board where the upper left corner of the map is.


timeToRepaint

boolean timeToRepaint
Detta är ett test för att åstadkomma ett visst tidsgap mellan omritningar


repaintTime

long repaintTime

Class gecco.client.Game extends JFrame implements Serializable

Serialized Fields

gameTitle

String gameTitle
The title of the game, shown as title in window.


server

Server server
Description of the Field


lastHost

HostPort lastHost
Description of the Field


board

Board board
Description of the Field


map

Map map
Description of the Field


pieceInfoPanel

PieceInfoPanel pieceInfoPanel
Description of the Field


pieces

HashMap pieces
The pieces that are currenlty in the game, hashed on piece handle.


actionExecutingPieces

Hashtable actionExecutingPieces
The pieces that are currenlty executing some actions. These actions are those on top of the queue and are of course not instantaneous. Hashed on action id.


actionIds

Hashtable actionIds
The action id of the currenlty executing action for some piece. Hashed on piece handle. The inverse of actionExecutingPieces.


lastExtraPieceId

int lastExtraPieceId
The handle of the ghost or explosion that was added last. The handles of ghost pieces and explosion are created and maintianed by the client, and they should be negative as it is assumed that the handles that come from the server are positive.


selectedPiece

Piece selectedPiece
Description of the Field


selectedAction

Action selectedAction
Description of the Field


actionMenuListener

ActionListener actionMenuListener
The listener that handles selections in the menu that displays the actions of a piece.


boardClicks

MouseListener boardClicks
The listener that handles clicks on the board.


boardDrags

MouseMotionListener boardDrags
The listener that handles drags on the board.


actionMenu

JPopupMenu actionMenu
The menu that is displayed with piece actions, ghost pieces or ghost actions. Different from time to time.


ghostActionMenu

JPopupMenu ghostActionMenu
The menu that contains the actions of a ghost piece (so far only remove. It is created the first time it is used, then it remains the same.


ghostMenuClick

Point ghostMenuClick
The point that was clicked on the board to bring up the ghost menu. This point is used to place the new ghost piece where the mouse was clicked.


useGhosts

boolean useGhosts
All things that has to do with ghost pieces are turned on or off by this flag. Default: on.


explosionAudioClip

AudioClip explosionAudioClip

audioDirName

String audioDirName

audioExplosionName

String audioExplosionName

explosionAudioClipURL

URL explosionAudioClipURL


Package gecco.client.dialogs

Class gecco.client.dialogs.ConnectionDialog extends JDialog implements Serializable

Serialized Fields

hostField

JTextField hostField
Description of the Field


portField

JTextField portField
Description of the Field

Class gecco.client.dialogs.RoleSelectionDialog extends JDialog implements Serializable

Serialized Fields

list

JList list
Description of the Field


Package gecco.client.infopanels

Class gecco.client.infopanels.ActionDisplay extends JPanel implements Serializable

Serialized Fields

game

Game game
Description of the Field


activePiece

Piece activePiece
Description of the Field


actionInfo

JList actionInfo
Description of the Field


executingAction

JLabel executingAction
Description of the Field


removeButton

JButton removeButton
Description of the Field


abortButton

JButton abortButton
Description of the Field

Class gecco.client.infopanels.MessageDisplay extends JScrollPane implements Serializable

Serialized Fields

piece

Piece piece
Description of the Field


messages

JTextArea messages
Description of the Field

Class gecco.client.infopanels.PieceInfoPanel extends JPanel implements Serializable

Serialized Fields

piece

Piece piece
Description of the Field


pieceName

JLabel pieceName
Description of the Field


pieceType

JLabel pieceType
Description of the Field


time

JLabel time
This label displays the current time.


actionDisplay

ActionDisplay actionDisplay
Description of the Field


propertyDisplay

PropertyDisplay propertyDisplay
Description of the Field


messageDisplay

MessageDisplay messageDisplay
Description of the Field


warningDisplay

WarningDisplay warningDisplay

Class gecco.client.infopanels.PropertyDisplay extends JPanel implements Serializable

Serialized Fields

piece

Piece piece
Description of the Field


propertyNames

JTextArea propertyNames
Description of the Field


propertyValues

JTextArea propertyValues
Description of the Field


inner

JPanel inner
Description of the Field

Class gecco.client.infopanels.WarningDisplay extends JScrollPane implements Serializable

Serialized Fields

messages

JTextArea messages


Package gecco.server.startup

Class gecco.server.startup.DeepCloneHashMap extends HashMap implements Serializable

Class gecco.server.startup.DeepCloneLinkedList extends LinkedList implements Serializable

Class gecco.server.startup.ParseErrorException extends Exception implements Serializable

Class gecco.server.startup.SyntaxErrorException extends Exception implements Serializable


Package gecco.util

Class gecco.util.CommandLineProperties extends Properties implements Serializable