Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
B
D
E
F
G
I
K
L
M
N
P
Q
R
S
T
W
G
getCapturedPiece()
- Method in class suicideChess.
Move
Returns the
Piece
to be captured in a Move
getColor()
- Method in class suicideChess.
Piece
Returns an integer representing the color of the Piece.
getEnPassantSquare()
- Method in class suicideChess.
Board
This function is used to return the 'en passant' Square.
getEnPassantSquare()
- Method in class suicideChess.
Move
Returns the enPassant Square for a move.
getFile()
- Method in class suicideChess.
Square
Returns the file of a Square.
getFileNb()
- Method in class suicideChess.
Square
Returns the number of the File
getLegalMovesCapture()
- Method in class suicideChess.
Rules
This function return the current status of the ArrayList
of all legal
Move
with a capture.
getLegalMovesNonCapture()
- Method in class suicideChess.
Rules
This function return the current status of the ArrayList
of all legal
Move
without a capture.
getMovingPiece()
- Method in class suicideChess.
Move
Returns the moving
Piece
of a Move.
getPiece(Square)
- Method in class suicideChess.
Board
This function searchs for what piece is on a square.
getPieceNumber()
- Method in class suicideChess.
Piece
Returns an integer representing the Piece (Piece.BLACK_PAWN or Piece.WHITE_QUEEN)
getPieceType()
- Method in class suicideChess.
Piece
Returns an integer representing the Piece type (Piece.QUEEN or Piece.PAWN)
getPromotionPiece()
- Method in class suicideChess.
Move
Returns the promotion
Piece
of a Move
getRank()
- Method in class suicideChess.
Square
Returns the number of the Rank
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
B
D
E
F
G
I
K
L
M
N
P
Q
R
S
T
W