You can use BaseScene.ball.setFlipX(true); to flip the ball, and BaseScene.ball.setFlipX(false); to unflip the ball
BaseScene.ball.setFlipX(true);
BaseScene.ball.setFlipX(false);