def delete(self): self.cleanupDestruction() base.musicManager.stopAllSounds() base.unlockMusic() DistributedEvent.delete(self)
def __init__(self, cr): DistributedEvent.__init__(self, cr) self.introMusic = base.loadMusic('phase_4/audio/bgm/TE_battle_intro.ogg') self.music = base.loadMusic('phase_4/audio/bgm/TE_battle.ogg') self.musicSequence = None self.credits = None self.blimp = None self.challengeGui = None self.phase = 0
def __init__(self, cr): DistributedEvent.__init__(self, cr) self.introMusic = base.loadMusic( 'phase_4/audio/bgm/TE_battle_intro.ogg') self.music = base.loadMusic('phase_4/audio/bgm/TE_battle.ogg') self.musicSequence = None self.credits = None self.blimp = None self.challengeGui = None self.phase = 0