def render(self, renderer):
    'Render scene.'
    rect = ((Constants.WINDOW_SIZE.x - Menu.bg_offset), 0, *Constants.WINDOW_SIZE)
    renderer.copy(Menu.backgrounds[Menu.current_bg], None, rect)
    renderer.fill((0, 0, Constants.WINDOW_SIZE.x, Constants.WINDOW_SIZE.y), (0, 0, 0, Menu.bg_dimness_current))
    self.title.render(renderer)
    self.credits.render(renderer)
    self.menu.render(renderer)
    if self.render_content:
        self.render_content.render(renderer)
    if self.fading:
        self.fader.draw(renderer)
        if self.fader.finished():
            self.fading = False
            self.fader.reset()
            self.choice = 0
Render scene.
def render(self, renderer):
    
    rect = ((Constants.WINDOW_SIZE.x - Menu.bg_offset), 0, *Constants.WINDOW_SIZE)
    renderer.copy(Menu.backgrounds[Menu.current_bg], None, rect)
    renderer.fill((0, 0, Constants.WINDOW_SIZE.x, Constants.WINDOW_SIZE.y), (0, 0, 0, Menu.bg_dimness_current))
    self.title.render(renderer)
    self.credits.render(renderer)
    self.menu.render(renderer)
    if self.render_content:
        self.render_content.render(renderer)
    if self.fading:
        self.fader.draw(renderer)
        if self.fader.finished():
            self.fading = False
            self.fader.reset()
            self.choice = 0