示例#1
0
 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()
示例#3
0
 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)
示例#4
0
 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)
示例#5
0
 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)
示例#6
0
 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()
示例#7
0
 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)