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
S
saveGame()
- Method in class controller.
Control
accessor(selector)
: Creates a string representation of the current game based on all previous moves.
setCell(int, int, Cell)
- Method in class model.
ChessBoard
transformer(mutative)
: Sets the cell at the given position x, y with the parameter z.
setColor(Color)
- Method in class model.
Cell
transformer(mutative)
: Sets the Cell's Color to the parameter passed by.
setFirstPlayer(Player)
- Method in class controller.
Control
transformer(mutative)
: Sets the first Player as the parameter Player passed.
setIcon(Icon)
- Method in class model.pieces.
Piece
transformer(mutative)
: Changes the Icon of the given piece with the one passed as parameter.
setName(String)
- Method in class model.pieces.
Piece
transformer(mutative)
: Changes the Piece's name to the String passed as parameter.
setPiece(Piece)
- Method in class model.
Cell
transformer(mutative)
: Changes the Cell's Piece to the one passed as parameter.
setPromotedTo(Piece)
- Method in class model.moves.
CapturePromotion
transformer(mutative)
: Sets the piece to be promoted to the one passed as argument.
setPromotedTo(Piece)
- Method in class model.moves.
Promotion
transformer(mutative)
:Sets the piece to be promoted to the one passed as argument.
setSecondPlayer(Player)
- Method in class controller.
Control
transformer(mutative)
: Sets the second Player as the parameter Player passed.
setTurn(boolean)
- Method in class controller.
Player
transformer(mutative)
: Is responsible for assigning whether its a Player's Turn.
showGame()
- Method in class view.cl.
CommandLineUI
accessor(selector)
: Prints the chess board of a game.
showGame()
- Method in class view.gui.
GraphicUI
accessor(selector)
: Displays the current game.
showGame()
- Method in interface view.
UserInterface
Shows the current game to the user.
suite()
- Static method in class main.
AllTests
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