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


Python toon.Toon类代码示例

本文整理汇总了Python中toontown.toon.Toon的典型用法代码示例。如果您正苦于以下问题:Python Toon类的具体用法?Python Toon怎么用?Python Toon使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了Toon类的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: load

 def load(self):
     Toon.loadMinigameAnims()
     self.defaultSignModel = loader.loadModel("phase_13/models/parties/eventSign")
     self.activityIconsModel = loader.loadModel("phase_4/models/parties/eventSignIcons")
     model = loader.loadModel("phase_4/models/parties/partyStickerbook")
     self.partyHat = model.find("**/Stickerbook_PartyIcon")
     self.partyHat.setPos(0.0, 0.1, 2.5)
     self.partyHat.setHpr(0.0, 0.0, -50.0)
     self.partyHat.setScale(4.0)
     self.partyHat.setBillboardAxis()
     self.partyHat.reparentTo(hidden)
     model.removeNode()
     self.defaultLeverModel = loader.loadModel("phase_13/models/parties/partyLeverBase")
     self.defaultStickModel = loader.loadModel("phase_13/models/parties/partyLeverStick")
开发者ID:XamarinDeveloper,项目名称:src,代码行数:14,代码来源:DistributedParty.py

示例2: unload

    def unload(self):
        if hasattr(self, 'decorationsList') and self.decorationsList:
            for decor in self.decorationsList:
                decor.unload()

            del self.decorationsList
        self.stopPartyClock()
        self.grassRoot.removeNode()
        del self.grassRoot
        if hasattr(self, 'testGrid'):
            self.testGrid.removeNode()
            del self.testGrid
        self.ignoreAll()
        Toon.unloadMinigameAnims()
        self.removePartyHats()
        if hasattr(base, 'partyHasJukebox'):
            del base.partyHasJukebox
开发者ID:BmanGames,项目名称:ToontownStride,代码行数:17,代码来源:DistributedParty.py

示例3: unload

 def unload(self):
     CogHQLoader.CogHQLoader.unload(self)
     self.__handleInterests(0)
     Toon.unloadSellbotHQAnims()
开发者ID:gamerdave54321,项目名称:Toontown-House-Code,代码行数:4,代码来源:LawbotCogHQLoader.py

示例4: load

 def load(self, zoneId):
     CogHQLoader.CogHQLoader.load(self, zoneId)
     Toon.loadSellbotHQAnims()
开发者ID:gamerdave54321,项目名称:Toontown-House-Code,代码行数:3,代码来源:LawbotCogHQLoader.py

示例5: unloadBattleAnims

 def unloadBattleAnims(self):
     Toon.unloadTutorialBattleAnims()
开发者ID:BmanGames,项目名称:Toontown-Level-Editor,代码行数:2,代码来源:TutorialTownLoader.py

示例6: loadBattleAnims

 def loadBattleAnims(self):
     Toon.loadTutorialBattleAnims()
开发者ID:BmanGames,项目名称:Toontown-Level-Editor,代码行数:2,代码来源:TutorialTownLoader.py

示例7: unload

 def unload(self):
     CogHQLoader.CogHQLoader.unload(self)
     Toon.unloadSellbotHQAnims()
开发者ID:OldToontown,项目名称:OldToontown,代码行数:3,代码来源:LawbotCogHQLoader.py

示例8: load

 def load(self):
     Place.Place.load(self)
     Toon.loadBattleAnims()
开发者ID:CalebSmith376,项目名称:src,代码行数:3,代码来源:BattlePlace.py

示例9: unload

 def unload(self):
     CogHQLoader.CogHQLoader.unload(self)
     Toon.unloadCashbotHQAnims()
开发者ID:TLOTT-PS,项目名称:ttr-src,代码行数:3,代码来源:CashbotCogHQLoader.py

示例10: unloadBattleAnims

 def unloadBattleAnims(self):
     Toon.unloadBattleAnims()
开发者ID:ToontownModder101,项目名称:Toontown-Offline-Squirting-Flower-Modded-,代码行数:2,代码来源:TownLoader.py

示例11: loadBattleAnims

 def loadBattleAnims(self):
     Toon.loadBattleAnims()
开发者ID:ToontownModder101,项目名称:Toontown-Offline-Squirting-Flower-Modded-,代码行数:2,代码来源:TownLoader.py

示例12: unload

 def unload(self):
     self.notify.debug("BASE: unload")
     if hasattr(base, "curMinigame"):
         del base.curMinigame
     Toon.unloadMinigameAnims()
开发者ID:Teku16,项目名称:Toontown-Crystal-Master,代码行数:5,代码来源:DistributedMinigame.py

示例13: load

 def load(self):
     self.notify.debug("BASE: load")
     Toon.loadMinigameAnims()
开发者ID:Teku16,项目名称:Toontown-Crystal-Master,代码行数:3,代码来源:DistributedMinigame.py

示例14: load

 def load(self):
     Toon.loadMinigameAnims()
     self.defaultSignModel = loader.loadModel('phase_13/models/parties/eventSign')
     self.activityIconsModel = loader.loadModel('phase_4/models/parties/eventSignIcons')
     self.defaultLeverModel = loader.loadModel('phase_13/models/parties/partyLeverBase')
     self.defaultStickModel = loader.loadModel('phase_13/models/parties/partyLeverStick')
开发者ID:BmanGames,项目名称:ToontownStride,代码行数:6,代码来源:DistributedParty.py


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