|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines the functionality to notate a ply.
Method Summary | |
Piece |
getPiece()
Get the piece of this ply. |
java.lang.String |
getPieceTypeNotation(byte pieceType)
Get the notation for a piece type. |
Ply |
getPly()
Get the ply of this notation. |
boolean |
isCapture()
Check if the piece captures another piece with this ply. |
void |
setCapture(boolean capture)
Set the flag to indicate if another piece is captured with this ply. |
void |
setPiece(Piece piece)
Set the piece, that is moved with this ply. |
void |
setPly(Ply ply)
Set the ply for this notation. |
java.lang.String |
toString()
Render this ply as a string. |
Method Detail |
public java.lang.String toString()
public Piece getPiece()
public void setPiece(Piece piece)
ply
- The moved ply.public Ply getPly()
public void setPly(Ply ply)
ply
- The ply for this notation.public boolean isCapture()
public void setCapture(boolean capture)
capture
- Flag to indicate, if this ply captures another piece.public java.lang.String getPieceTypeNotation(byte pieceType)
pieceType
- The piece type.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |