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.


Method Summary
 Position getAttackedPosition()
          Get the position of the attacked pawn.
 void setAttackedPosition(Position attackedPosition)
          Set the position of the attacked pawn.
 
Methods inherited from interface de.java_chess.javaChess.ply.Ply
equals, getDestination, getSource, setDestination, setSource
 

Method Detail

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.