Esempio n. 1
0
def playSong(song):
    Player.getGame().mixer.music.load(song)
    Player.getGame().mixer.music.play()
    while pygame.mixer.music.get_busy():
        pygame.time.Clock().tick(10)
Esempio n. 2
0
def run():
    Player.getGame().mixer.pause()