本文整理汇总了Python中toontown.suit.Suit.loadSuits方法的典型用法代码示例。如果您正苦于以下问题:Python Suit.loadSuits方法的具体用法?Python Suit.loadSuits怎么用?Python Suit.loadSuits使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类toontown.suit.Suit
的用法示例。
在下文中一共展示了Suit.loadSuits方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: load
# 需要导入模块: from toontown.suit import Suit [as 别名]
# 或者: from toontown.suit.Suit import loadSuits [as 别名]
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)
示例2: load
# 需要导入模块: from toontown.suit import Suit [as 别名]
# 或者: from toontown.suit.Suit import loadSuits [as 别名]
def load(self, zoneId):
TownLoader.TownLoader.load(self, zoneId)
Suit.loadSuits(1)
filepath = '%s/toonland/playground/oz/dna' % __filebase__
dnaFile = ('%s/outdoor_zone_' % filepath) + str(self.canonicalBranchZone) + '.dna'
self.createHood(dnaFile)
taskMgr.doMethodLater(0.2, self._OZTownLoader__loadPythonImplementation, 'OZ-LPI')
示例3: load
# 需要导入模块: from toontown.suit import Suit [as 别名]
# 或者: from toontown.suit.Suit import loadSuits [as 别名]
def load(self):
Place.Place.load(self)
self.parentFSM.getStateNamed("cogdoInterior").addChild(self.fsm)
self.townBattle = TownBattle.TownBattle("town-battle-done")
self.townBattle.load()
for i in xrange(1, 3):
Suit.loadSuits(i)
示例4: load
# 需要导入模块: from toontown.suit import Suit [as 别名]
# 或者: from toontown.suit.Suit import loadSuits [as 别名]
def load(self, zoneId):
self.parentFSMState.addChild(self.fsm)
self.battleMusic = base.loadMusic('phase_9/audio/bgm/encntr_suit_winning.ogg')
self.townBattle = TownBattle.TownBattle(self.townBattleDoneEvent)
self.townBattle.load()
Suit.loadSuits(3)
self.loadPlaceGeom(zoneId)
self.music = base.loadMusic(self.musicFile)
示例5: load
# 需要导入模块: from toontown.suit import Suit [as 别名]
# 或者: from toontown.suit.Suit import loadSuits [as 别名]
def load(self, zoneId):
TownLoader.TownLoader.load(self, zoneId)
Suit.loadSuits(3)
dnaFile = 'phase_8/dna/the_burrrgh_' + str(self.canonicalBranchZone) + '.pdna'
self.createHood(dnaFile)
self.windSound = map(base.loadSfx, ['phase_8/audio/sfx/SZ_TB_wind_1.ogg',
'phase_8/audio/sfx/SZ_TB_wind_2.ogg',
'phase_8/audio/sfx/SZ_TB_wind_3.ogg'])
self.snow = BattleParticles.loadParticleFile('snowdisk.ptf')
self.snow.setPos(0, 0, 5)
self.snowRender = self.geom.attachNewNode('snowRender')
self.snowRender.setDepthWrite(0)
self.snowRender.setBin('fixed', 1)
示例6: load
# 需要导入模块: from toontown.suit import Suit [as 别名]
# 或者: from toontown.suit.Suit import loadSuits [as 别名]
def load(self, zoneId):
TownLoader.TownLoader.load(self, zoneId)
Suit.loadSuits(3)
dnaFile = 'phase_8/dna/the_burrrgh_' + str(self.canonicalBranchZone) + '.dna'
self.createHood(dnaFile)
示例7: load
# 需要导入模块: from toontown.suit import Suit [as 别名]
# 或者: from toontown.suit.Suit import loadSuits [as 别名]
def load(self, zoneId):
TownLoader.TownLoader.load(self, zoneId)
Suit.loadSuits(2)
dnaFile = 'phase_6/dna/donalds_dock_' + str(self.canonicalBranchZone) + '.pdna'
self.createHood(dnaFile)
示例8: load
# 需要导入模块: from toontown.suit import Suit [as 别名]
# 或者: from toontown.suit.Suit import loadSuits [as 别名]
def load(self, zoneId):
TownLoader.TownLoader.load(self, zoneId)
Suit.loadSuits(1)
dnaFile = 'phase_5/dna/toontown_central_' + str(self.canonicalBranchZone) + '.dna'
self.createHood(dnaFile)
示例9: load
# 需要导入模块: from toontown.suit import Suit [as 别名]
# 或者: from toontown.suit.Suit import loadSuits [as 别名]
def load(self):
BattlePlace.BattlePlace.load(self)
self.parentFSM.getStateNamed('cogHQBossBattle').addChild(self.fsm)
self.townBattle = self.loader.townBattle
for i in xrange(1, 3):
Suit.loadSuits(i)