Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
E
G
H
I
K
L
M
N
P
Q
R
S
T
U
V
M
main
- package main
Main
- Class in
main
Contains only the main method where the game starts.
Main()
- Constructor for class main.
Main
main(String[])
- Static method in class main.
Main
makeMove(String)
- Method in class view.cl.
CommandLineUI
transformer(mutative)
: Executes the move which is provided by the parameter string in the form of "a2 => a3".
makeMove(Cell, Cell)
- Method in class view.cl.
CommandLineUI
transformer(mutative)
: Executes the move which is provided by the parameter integers which defines two cells, a source and a destination one.
makeMove(Cell, Cell)
- Method in class view.gui.
GraphicUI
transformer(mutative)
: Executes the move which is provided by the parameter integers which define two cells,a source and a destination one.
makeMove(Cell, Cell)
- Method in interface view.
UserInterface
Makes a move in the game that goes from Cell a(source) to Cell b(destination).
model
- package model
model.moves
- package model.moves
model.pieces
- package model.pieces
move(ChessBoard)
- Method in class model.moves.
CapturePromotion
transformer(mutative)
: Applies a Capture Promotion move on the given ChessBoard.
move(ChessBoard)
- Method in class model.moves.
Castling
transformer(mutative)
: Applies a Castling move on the given ChessBoard.
Move
- Class in
model.moves
Represents a move on the chessboard.
Move(Cell, Cell)
- Constructor for class model.moves.
Move
constructor
: Creates a Move based on the two given cells.
move(ChessBoard)
- Method in class model.moves.
Move
Given a ChessBoard and a Move(this), applies the given Move on the chess board.
move(ChessBoard)
- Method in class model.moves.
Promotion
transformer(mutative)
: Applies a Promotion move on the given ChessBoard.
moves(Cell, ChessBoard)
- Method in class model.pieces.
Bishop
Creates and returns a List of all the possible Moves the Bishop can execute.
moves(Cell, ChessBoard)
- Method in class model.pieces.
King
Creates and returns a List of all the possible Moves the King can execute.
moves(Cell, ChessBoard)
- Method in class model.pieces.
Knight
Creates and returns a List of all the possible Moves the Knight can execute.
moves(Cell, ChessBoard)
- Method in class model.pieces.
Pawn
Creates and returns a List of all the possible Moves the given Pawn can execute.
moves(Cell, ChessBoard)
- Method in class model.pieces.
Piece
Finds and returns all the possible moves of the Piece in the given Cell, in the given ChessBoard.
moves(Cell, ChessBoard)
- Method in class model.pieces.
Queen
Creates and returns a List of all the possible Moves the Queen can execute.
moves(Cell, ChessBoard)
- Method in class model.pieces.
Rook
Creates and returns a List of all the possible Moves the Rook can execute.
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
E
G
H
I
K
L
M
N
P
Q
R
S
T
U
V