* @Post: No changes
	 * @Return: Whether or not the chosen piece can en passant in the current direction
	 */
	private boolean checkIfCanEnPassant(boolean leftOrRight) {
		if(leftOrRight==RIGHT)
		{
			if(lastMove.getCurrentLocation().equals(new Point(chosenPiece.getX()+1,chosenPiece.getY())))
			{
				if(Math.abs(lastMove.getCurrentLocation().y-lastMove.getPreviousLocation().y)==2)
				{
					return true;
				}
			}
		}
		if(leftOrRight==LEFT)
		{
			if(lastMove.getCurrentLocation().equals(new Point(chosenPiece.getX()-1,chosenPiece.getY())))
			{
				if(Math.abs(lastMove.getCurrentLocation().y-lastMove.getPreviousLocation().y)==2)
				{
					return true;
				}
			}
		}
		return false;
	}