'Allows for a star bounce off the ground and on the bottom of a
box'

def adjust_star_for_collision_y(self, star, collider):

    if (star.rect.y > collider.rect.y):
        star.rect.y = collider.rect.bottom
        star.y_vel = 0
    else:
        star.rect.bottom = collider.rect.top
        star.start_bounce((-8))
