com.codethesis.pgnparse
Class PGNMove
java.lang.Object
com.codethesis.pgnparse.PGNMove
public class PGNMove
- extends java.lang.Object
- Author:
- Deyan Rizov
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getComment
public java.lang.String getComment()
- Returns:
- the comment
getMove
public java.lang.String getMove()
- Returns:
- the move
getFullMove
public java.lang.String getFullMove()
- Returns:
- the fullMove
getFromSquare
public java.lang.String getFromSquare()
- Returns:
- the fromSquare
getToSquare
public java.lang.String getToSquare()
- Returns:
- the toSquare
getPiece
public java.lang.String getPiece()
- Returns:
- the piece
getColor
public Color getColor()
- Returns:
- the color
isChecked
public boolean isChecked()
- Returns:
- the checked
isCaptured
public boolean isCaptured()
- Returns:
- the captured
isPromoted
public boolean isPromoted()
- Returns:
- the promoted
getPromotion
public java.lang.String getPromotion()
- Returns:
- the promotion
isEndGameMarked
public boolean isEndGameMarked()
- Returns:
- the endGameMarked
getEndGameMark
public java.lang.String getEndGameMark()
- Returns:
- the endGameMark
isCheckMated
public boolean isCheckMated()
- Returns:
- the checkMated
isKingSideCastle
public boolean isKingSideCastle()
- Returns:
- the kingSideCastle
isQueenSideCastle
public boolean isQueenSideCastle()
- Returns:
- the queenSideCastle
isCastle
public boolean isCastle()
- Returns:
isEnpassant
public boolean isEnpassant()
- Returns:
- the enpassant
isEnpassantCapture
public boolean isEnpassantCapture()
- Returns:
- the enpassantCapture
getEnpassantPieceSquare
public java.lang.String getEnpassantPieceSquare()
- Returns:
- the enpassantPieceSquare