Package io.github.wolfraam.chessgame.pgn
Class PGNData
java.lang.Object
io.github.wolfraam.chessgame.pgn.PGNData
- All Implemented Interfaces:
Serializable
PGN data belonging to the ChessGame.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPGNCommentAfter(int moveIndex, PGNComment pgnComment) adds the PGN Comments after the movevoidaddPGNCommentBefore(int moveIndex, PGNComment pgnComment) adds the PGN Comments after the movevoidgetPGNCommentsAfter(int moveIndex) getPGNCommentsBefore(int moveIndex) getPGNTagValue(PGNTag pgnTag) voidSets the value of the PGN tag
-
Constructor Details
-
PGNData
public PGNData()
-
-
Method Details
-
addPGNCommentAfter
adds the PGN Comments after the move -
addPGNCommentBefore
adds the PGN Comments after the move -
copyFrom
-
getAvailablePGNTags
-
getPGNCommentsAfter
- Returns:
- the PGN Comments after the move
-
getPGNCommentsBefore
- Returns:
- the PGN Comments before the move
-
getPGNTagValue
- Returns:
- the value of the PGN tag
-
setPGNTag
Sets the value of the PGN tag
-