public int PositionRelative(Player p){
        if(p.boundingBox.y+p.boundingBox.height<this.y+p.boundingBox.height/2 && p.boundingBox.y<this.y)
                return DESSUS;
            else if(p.boundingBox.y>this.y+this.height-p.boundingBox.height/2 && p.boundingBox.y+p.boundingBox.height>this.y+this.height)
                return DESSOUS;
            else if(p.boundingBox.x+p.boundingBox.width<this.x+this.width/2)
                return GAUCHE;
            else if(p.boundingBox.x>this.x+this.width/2)
                return DROITE;
        return 0;
    }