/** * Method : HasRightPaddleScored * Return : True if the right paddle has scored. False otherwise. * Description: This method will check score condition for the right paddle and return accordingly. */ bool HasRightPaddleScored() { if (ballController.GetBallPositionX() <= leftPaddleController.GetPaddleLeftBoundary()) { return(true); } return(false); }