A B C E G H I K L M N P Q R S T U V

C

canPlay() - Method in class controller.Control
accessor(selector): Checks whether one of the two Player(s) can play in the game.
Capture - Class in model.moves
Represents a move that captures an opposite piece.
Capture(Cell, Cell, Piece) - Constructor for class model.moves.Capture
constructor: Creates a new Capture move.
CapturePromotion - Class in model.moves
Represents a promotion that also captures an opponent's piece.
CapturePromotion(Cell, Cell, Piece) - Constructor for class model.moves.CapturePromotion
constructor: Creates a new CapturePromotion move that needs a destination and a source cell.
Castling - Class in model.moves
Represents the move of the small and great castling
Castling(Cell, Cell) - Constructor for class model.moves.Castling
constructor: Creates a new Castling move, using destination and source Cell(s) as parameters.
Cell - Class in model
ADT Cell which depicts a square, one of the 64 in a chessboard.
Cell(int, int) - Constructor for class model.Cell
constructor: Creates a new Cell with the given coordinates.
Cell(int, int, Color, Piece) - Constructor for class model.Cell
constructor: Creates a new Cell with the given coordinates, the given color, and places a Piece on that Cell.
CellTest - Class in model
 
CellTest() - Constructor for class model.CellTest
 
ChessBoard - Class in model
ADT ChessBoard is responsible for portraying the chess board where the game is played.
ChessBoard() - Constructor for class model.ChessBoard
constructor: Creates a new 8X8 square ChessBoard.
ChessBoardTest - Class in model
 
ChessBoardTest() - Constructor for class model.ChessBoardTest
 
CommandLineUI - Class in view.cl
Provides command line portrait of the game.
CommandLineUI() - Constructor for class view.cl.CommandLineUI
constructor: Constructs a new CommandLineUI game.
Control - Class in controller
Control is the master of the game and controls all of the operations executed
Control() - Constructor for class controller.Control
constructor: Creates an instance of control and sets the game as eligible to begin.
controller - package controller
 
ControlTest - Class in controller
 
ControlTest() - Constructor for class controller.ControlTest
 
createMove(Cell, Cell) - Method in class controller.Control
Is responsible for creating a Move based on it's parameters which are the source cell of the Move, and the destination cell of the Move, and finally returning it.

A B C E G H I K L M N P Q R S T U V