Uses of Class
model.Cell

Packages that use Cell
controller   
model   
model.moves   
model.pieces   
view   
view.cl   
view.gui   
 

Uses of Cell in controller
 

Methods in controller with parameters of type Cell
 Move Control.createMove(Cell a, Cell b)
          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.
 

Uses of Cell in model
 

Methods in model that return Cell
 Cell ChessBoard.getCell(int x, int y)
          accessor(selector): Retrieves the cell at the given position.
 

Methods in model with parameters of type Cell
 void ChessBoard.setCell(int x, int y, Cell z)
          transformer(mutative): Sets the cell at the given position x, y with the parameter z.
 

Uses of Cell in model.moves
 

Methods in model.moves that return Cell
 Cell Move.getFrom()
          accessor(selector): Returns the source cell of the given Move.
 Cell Move.getTo()
          accessor(selector): Returns the destination cell of the given Move.
 

Constructors in model.moves with parameters of type Cell
Capture(Cell a, Cell b, Piece r)
          constructor: Creates a new Capture move.
CapturePromotion(Cell sour, Cell dest, Piece capt)
          constructor: Creates a new CapturePromotion move that needs a destination and a source cell.
Castling(Cell from, Cell to)
          constructor: Creates a new Castling move, using destination and source Cell(s) as parameters.
Move(Cell a, Cell b)
          constructor: Creates a Move based on the two given cells.
Promotion(Cell x, Cell y)
          constructor: Creates a new Promotion Move.
 

Uses of Cell in model.pieces
 

Methods in model.pieces with parameters of type Cell
 java.util.List<Move> Bishop.moves(Cell p, ChessBoard b)
          Creates and returns a List of all the possible Moves the Bishop can execute.
 java.util.List<Move> Queen.moves(Cell p, ChessBoard b)
          Creates and returns a List of all the possible Moves the Queen can execute.
 java.util.List<Move> Pawn.moves(Cell p, ChessBoard b)
          Creates and returns a List of all the possible Moves the given Pawn can execute.
 java.util.List<Move> King.moves(Cell p, ChessBoard b)
          Creates and returns a List of all the possible Moves the King can execute.
 java.util.List<Move> Knight.moves(Cell p, ChessBoard b)
          Creates and returns a List of all the possible Moves the Knight can execute.
abstract  java.util.List<Move> Piece.moves(Cell x, ChessBoard z)
          Finds and returns all the possible moves of the Piece in the given Cell, in the given ChessBoard.
 java.util.List<Move> Rook.moves(Cell p, ChessBoard b)
          Creates and returns a List of all the possible Moves the Rook can execute.
 

Uses of Cell in view
 

Methods in view with parameters of type Cell
 boolean UserInterface.makeMove(Cell a, Cell b)
          Makes a move in the game that goes from Cell a(source) to Cell b(destination).
 

Uses of Cell in view.cl
 

Methods in view.cl with parameters of type Cell
 boolean CommandLineUI.makeMove(Cell a, Cell b)
          transformer(mutative): Executes the move which is provided by the parameter integers which defines two cells, a source and a destination one.
 

Uses of Cell in view.gui
 

Methods in view.gui with parameters of type Cell
 boolean GraphicUI.makeMove(Cell a, Cell b)
          transformer(mutative): Executes the move which is provided by the parameter integers which define two cells,a source and a destination one.