当前位置: 首页>>代码示例>>Python>>正文


Python Suit.loadSuits方法代码示例

本文整理汇总了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)
开发者ID:MasterLoopyBM,项目名称:c0d3,代码行数:9,代码来源:SuitInterior.py

示例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')
开发者ID:Teku16,项目名称:ToontownPlanet,代码行数:9,代码来源:OZTownLoader.py

示例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)
开发者ID:nguoy-tk,项目名称:src,代码行数:9,代码来源:CogdoInterior.py

示例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)
开发者ID:gamerdave54321,项目名称:Toontown-House-Code,代码行数:10,代码来源:CogHQLoader.py

示例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)
开发者ID:BmanGames,项目名称:ToontownStride,代码行数:15,代码来源:BRTownLoader.py

示例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)
开发者ID:ponyboy837,项目名称:Toontown-2003-Server,代码行数:7,代码来源:BRTownLoader.py

示例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)
开发者ID:CalebSmith376,项目名称:src,代码行数:7,代码来源:DDTownLoader.py

示例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)
开发者ID:Keithybub,项目名称:ToonTownReviveOld,代码行数:7,代码来源:TTTownLoader.py

示例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)
开发者ID:nate97,项目名称:src,代码行数:8,代码来源:CogHQBossBattle.py


注:本文中的toontown.suit.Suit.loadSuits方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。