de.java_chess.javaChess.ply
Interface EnPassantPly
- All Known Implementing Classes:
- EnPassantPlyImpl
- public interface EnPassantPly
- extends Ply
This interface is for pawn plies, that attack a pawn
en passant.
getAttackedPosition
public Position getAttackedPosition()
- Get the position of the attacked pawn.
- Returns:
- Get the position of the attacked pawn.
setAttackedPosition
public void setAttackedPosition(Position attackedPosition)
- Set the position of the attacked pawn.
- Parameters:
position
- The position of the attacked pawn.