def load(self): Place.Place.load(self) self.parentFSM.getStateNamed('suitInterior').addChild(self.fsm) self.townBattle = TownBattle.TownBattle('town-battle-done') self.townBattle.load() for i in range(1, 3): Suit.loadSuits(i)
def load(self): self.music = base.loader.loadMusic(self.musicFile) self.activityMusic = base.loader.loadMusic(self.activityMusicFile) self.createSafeZone(self.dnaFile) self.parentFSMState.addChild(self.fsm) self.townBattle = TownBattle.TownBattle(self.townBattleDoneEvent) self.townBattle.load()
def load(self, zoneId): self.parentFSMState.addChild(self.fsm) self.music = base.loader.loadMusic(self.musicFile) self.townBattle = TownBattle.TownBattle(self.townBattleDoneEvent) self.townBattle.load() Suit.loadSuits(3) self.loadPlaceGeom(zoneId)
def load(self, zoneId): self.parentFSMState.addChild(self.fsm) self.music = base.loader.loadMusic(self.musicFile) self.battleMusic = base.loader.loadMusic('phase_9/audio/bgm/encntr_suit_winning.ogg') self.townBattle = TownBattle.TownBattle(self.townBattleDoneEvent) self.townBattle.load() Suit.loadSuits(3) self.loadPlaceGeom(zoneId)
def load(self): assert (self.notify.debug("load()")) # Call up the chain Place.Place.load(self) self.parentFSM.getStateNamed("suitInterior").addChild(self.fsm) self.townBattle = TownBattle.TownBattle('town-battle-done') self.townBattle.load() for i in range(1, 3): Suit.loadSuits(i)
def load(self, zoneId): self.zoneId = zoneId self.parentFSMState.addChild(self.fsm) self.loadBattleAnims() self.branchZone = ZoneUtil.getBranchZone(zoneId) self.canonicalBranchZone = ZoneUtil.getCanonicalBranchZone(zoneId) self.music = base.loader.loadMusic(self.musicFile) self.activityMusic = base.loader.loadMusic(self.activityMusicFile) self.battleMusic = base.loader.loadMusic('phase_3.5/audio/bgm/encntr_general_bg.ogg') self.townBattle = TownBattle.TownBattle(self.townBattleDoneEvent) self.townBattle.load()
def load(self, zoneId): # Prepare the state machine self.parentFSMState.addChild(self.fsm) self.music = base.loadMusic(self.musicFile) self.battleMusic = base.loadMusic( 'phase_9/audio/bgm/encntr_suit_winning.mid') # Load the battle UI: self.townBattle = TownBattle.TownBattle(self.townBattleDoneEvent) self.townBattle.load() Suit.loadSuits(3) self.loadPlaceGeom(zoneId)