public void bind(IntegerProperty property,int value){
  if (isAchieved())   return;
  bind(property.greaterThanOrEqualTo(value));
  BooleanBinding bb=property.greaterThanOrEqualTo(value / 2);
  progressListener=null;
  bb.addListener(progressListener);
}

public void bind ( IntegerProperty property , int value ) { if ( isAchieved ( ) ) return ; bind ( property . greaterThanOrEqualTo ( value ) ) ; BooleanBinding bb = property . greaterThanOrEqualTo ( value / 2 ) ; progressListener = null ; bb . addListener ( progressListener ) ; }
bind achievement condition to given property .
