A B C D E F G H I K L M N O P R S T U V W

C

CMD_EXIT - Static variable in class bluegammon.gui.BoardCanvas
Exit command
CMD_UNDO - Static variable in class bluegammon.gui.BoardCanvas
Undo command
CONN_FAIL - Static variable in class bluegammon.Audio
Connection failed sound
CommitMoveAnim - class bluegammon.gui.animation.CommitMoveAnim.
Animation showing the user that he or she should commit his or her moves.
CommitMoveAnim(boolean) - Constructor for class bluegammon.gui.animation.CommitMoveAnim
Creates an animation indicating that user should commit his/her moves.
Context3D - class bluegammon.gui.Context3D.
The 3d context used in this game.
Context3D() - Constructor for class bluegammon.gui.Context3D
 
CursorAnim - class bluegammon.gui.animation.CursorAnim.
Animation of the cursors indicating the source and destination index of a possible movement.
CursorAnim(int, int, int, int, boolean) - Constructor for class bluegammon.gui.animation.CursorAnim
Creates a new cursor animation indicating where user moves a piece from and where the piece will end up.
calculatePiecesLeft(boolean) - Method in class bluegammon.logic.Board
Returns number of pieces still on board.
calculatePoints(boolean) - Method in class bluegammon.logic.Board
Return point per piece in current state.
callNext(long) - Method in class bluegammon.gui.animation.Animation
Called from animation engine
canBluetooth() - Static method in class bluegammon.Device
Returns whether this device implements bluetooth-apis or not.
canVibrate() - Static method in class bluegammon.Device
Returns whether this device can vibrate via J2ME or not.
clientHandshake(DataInputStream, DataOutputStream, String) - Method in class bluegammon.io.Handshake
Performs a handshake as a client.
close() - Method in class bluegammon.io.BackgammonBTConnection
 
close() - Method in interface bluegammon.io.BackgammonConnection
Closes all resources opened in this connection.
closeServer(String) - Method in class bluegammon.io.BluetoothFacade
Closes the server setup for specified service ID.
commandAction(Command, Displayable) - Method in class bluegammon.Bluegammon
 
commandAction(Command, Displayable) - Method in class bluegammon.gui.BluetoothDevicePage
Called from softbutton control.
commandAction(Command, Displayable) - Method in class bluegammon.gui.BoardCanvas
Handles command invokations from SoftButtonControl.
commandAction(Command, Displayable) - Method in class bluegammon.gui.MenuCanvas
 
commandAction(Command) - Method in class bluegammon.logic.LocalPlayer
Called from BoardCanvas when a command is executed.
commitMove(boolean, int) - Method in class bluegammon.logic.BoardState
Commits a move, step (3) of performing a move.
commitRepaint() - Method in class bluegammon.gui.BoardCanvas
Committs all repaint request in an actual repaint.
commitRepaint() - Method in interface bluegammon.gui.animation.RepaintRequestable
Commits all repaint requests to the graphics context.
commitTurn() - Static method in class bluegammon.logic.BoardMediator
Called from interaction, commits players' moves.
connect(String, RemoteDevice) - Method in class bluegammon.io.BluetoothFacade
Returns a client StreamConnection for specified device and service number.
connect(ServiceRecord) - Method in class bluegammon.io.BluetoothFacade
Returns a client StreamConnection for specified service record.
connectClient(Object) - Method in class bluegammon.io.BackgammonBTConnection
 
connectClient(Object) - Method in interface bluegammon.io.BackgammonConnection
Connects a client to a server.
consumeDice(int) - Method in class bluegammon.logic.BoardState
Consumes a dice value, called when a player moves a piece.
consumeDiceValue(int) - Method in class bluegammon.gui.BoardCanvas
Called from logic when user has made a move using specified dice value.
countPieces(int) - Method in class bluegammon.logic.Board
Returns number of pieces on specified index.
countPieces(boolean, int) - Method in class bluegammon.logic.Board
Returns number of pieces on specified index, for specified color.
countPossibleMoves() - Static method in class bluegammon.logic.BoardMediator
Returns number of possible moves based on current board state for player with current turn.
countPossibleMoves(boolean) - Method in class bluegammon.logic.BoardState
Returns number of possible moves for current game state.
countRecords() - Static method in class bluegammon.logic.GameRecord
Returns number of records saved in the rms.
countStatePieces(int) - Static method in class bluegammon.logic.BoardMediator
Returns number of pieces on specified index in current state.
countUndoableMoves() - Static method in class bluegammon.logic.BoardMediator
Returns number of possible undoable moves
countUndoableMoves() - Method in class bluegammon.logic.BoardState
Returns number of possible undoable moves
createShadowRGB(int, int) - Static method in class bluegammon.gui.Context3D
Creates an rgb buffer rendered a shadow that is transparant.
cursorBackIndex() - Method in class bluegammon.gui.BoardCanvas
Steps backward amongst cursor indices.
cursorNearestIndex(int, int) - Method in class bluegammon.gui.BoardCanvas
Moves to nearest cursor index after a change in possible moves.
cursorNextIndex() - Method in class bluegammon.gui.BoardCanvas
Steps forward amongst cursor indices.
cursorSwapSide() - Method in class bluegammon.gui.BoardCanvas
Moves cursor to nearest matching cursor index on opposite side of board, given current cursor position.

A B C D E F G H I K L M N O P R S T U V W