public Bounds translate(double x,double y){
  return new BoundingBox(x + bounds.getMinX(),y + bounds.getMinY(),bounds.getWidth(),bounds.getHeight());
}

public Bounds translate ( double x , double y ) { return new BoundingBox ( x + bounds . getMinX ( ) , y + bounds . getMinY ( ) , bounds . getWidth ( ) , bounds . getHeight ( ) ) ; }
computes new bounds based on translated x and y of an entity .
