public void pickUpItem() {
		float eps = (float) 1e-01;
		float n = player.getTaille();
		if((Math.abs(player.getY() - getY()) - (getHeight()/2 + player.getTaille()/2)) <eps){
			float x_gauche = player.getX() - n / 2;
			float x_droite = player.getX() + n / 2;

			float p_gauche = getX() - getWidth() / 2;
			float p_droite = getX() + getWidth() / 2;

			if ((x_droite <= p_droite && x_droite >= p_gauche)
					|| (x_gauche <= p_droite && x_gauche >= p_gauche)) {
				used = effect(player);
				if (used)
					world.remove(getBody());
			}
			
		}
	}