public boolean isEnPassantPossible(Figure p) {
		boolean isPawnOnRightY = (p.getXY().getY() == (int) (3.5 + 0.5 * p.getRank().getOwner().getDirection()));
		if (isPawnOnRightY == false) {
			return false;
		}
		boolean isLastMovedFigurePawnAndInEnPassantLetalZone = (lastMovedFigure.getRank().getIndex().equals("p") && (Math.abs(endPositions.getY() - startPositions.getY()) == 2) && (Math.abs(endPositions.getX()
				- p.getXY().getX()) == 1));
		return isLastMovedFigurePawnAndInEnPassantLetalZone;
		
	}