question: 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 ( ) ) ; }
target:  Computes new bounds based on translated X and Y of an entity with X axis being flipped.