|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines the functionality to notate a entire game.
Method Summary | |
void |
addPly(PlyNotation plyNotation)
Add a new ply with it's notation. |
java.lang.String |
getMove(int moveIndex,
boolean white)
Get the notation for a given move and piece color. |
java.lang.String |
getPlayerInfo(boolean white)
Get some info on a player. |
void |
setPlayerInfo(java.lang.String playerInfo,
boolean white)
Set the info on a player. |
java.lang.String |
toString()
Get the entire game as a string. |
Method Detail |
public java.lang.String getMove(int moveIndex, boolean white)
moveIndex
- The index of the move.boolean
- white Flag to indicate if the color is white.public void addPly(PlyNotation plyNotation)
plyNotation
- The notation of the new ply.public java.lang.String toString()
public java.lang.String getPlayerInfo(boolean white)
public void setPlayerInfo(java.lang.String playerInfo, boolean white)
playerInfo
- The player info.white
- Flag to indicate, if it's the player
with the white pieces.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |