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
P
Pawn
- Class in
model.pieces
Represents the Pawn piece
Pawn(String, boolean, Icon)
- Constructor for class model.pieces.
Pawn
constructor
: Constructs a new Pawn piece, with color based on the parameter z(white for true, black for false) and name based on the parameter x and the Icon(parameter r).
PawnTest
- Class in
model.pieces
PawnTest()
- Constructor for class model.pieces.
PawnTest
Piece
- Class in
model.pieces
Represents a Piece in the chess board.
Piece(String, boolean, Icon)
- Constructor for class model.pieces.
Piece
This constructor is used by all the subclasses of Piece.
PieceTest
- Class in
model.pieces
PieceTest()
- Constructor for class model.pieces.
PieceTest
Player
- Class in
controller
ADT Player describes the characteristics of a player and provides modification methods.
Player(String, boolean)
- Constructor for class controller.
Player
constructor
: Constructs a new Player with the given parameter String and Color.
prev(ChessBoard)
- Method in class model.moves.
Capture
transformer(mutative)
: Takes the chess board a move back.
prev(ChessBoard)
- Method in class model.moves.
CapturePromotion
transformer(mutative)
: Takes the chess board a move back.
prev(ChessBoard)
- Method in class model.moves.
Castling
transformer(mutative)
: Takes the ChessBoard a move back.
prev(ChessBoard)
- Method in class model.moves.
Move
Given a ChessBoard performs a reverse Move.
prev(ChessBoard)
- Method in class model.moves.
Promotion
transformer(mutative)
: Takes the ChessBoard a move back.
previousGame()
- Method in class controller.
Control
transformer(mutative)
: This method is responsible for taking the game one move back.
previousGame()
- Method in class view.cl.
CommandLineUI
transformer(mutative)
: Changes the chess board of the game to show to a previous move.
previousGame()
- Method in class view.gui.
GraphicUI
transformer(mutative)
: Changes the chess board of the game to show to a previous move.
previousGame()
- Method in interface view.
UserInterface
Changes the now state of the game to the previous state of the game.
Promotion
- Class in
model.moves
Represents the Promotion move.
Promotion(Cell, Cell)
- Constructor for class model.moves.
Promotion
constructor
: Creates a new Promotion Move.
PromotionException
- Exception in
model.moves
This class is an Exception and is thrown when a Promotion Move occurs.
PromotionException()
- Constructor for exception model.moves.
PromotionException
constructor
: Raises a new PromotionException.
PromotionException(String)
- Constructor for exception model.moves.
PromotionException
constructor
: Raises a new PromotionException with the given String as an Exception message.
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