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)
def run(): Player.getGame().mixer.pause()