def run(self):
    self.bgm_intro.play()
    self.done = False
    self.update_screen()
    while (not self.done):
        if (((get_ticks() // (self.fps * 20)) >= int(self.bgm_intro.get_length())) and (not self.bgm_is_running)):
            self.bgm_intro.stop()
            self.bgm.play((- 1))
            self.bgm_is_running = True
        self.draw()
        self.handle_events()
        self.handle_input()
        self.clock.tick(self.fps)
        self.update()
def run(self):
    self.bgm_intro.play()
    self.done = False
    self.update_screen()
    while (not self.done):
        if (((get_ticks() // (self.fps * 20)) >= int(self.bgm_intro.get_length())) and (not self.bgm_is_running)):
            self.bgm_intro.stop()
            self.bgm.play((- 1))
            self.bgm_is_running = True
        self.draw()
        self.handle_events()
        self.handle_input()
        self.clock.tick(self.fps)
        self.update()