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

public Bounds translateXFlipped ( double x , double y , double entityWidth ) { return new BoundingBox ( x + entityWidth - bounds . getMinX ( ) - bounds . getWidth ( ) , y + bounds . getMinY ( ) , bounds . getWidth ( ) , bounds . getHeight ( ) ) ; }
computes new bounds based on translated x and y of an entity with x axis being flipped .
