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


Python ToontownIntervals.cleanup方法代码示例

本文整理汇总了Python中toontown.toonbase.ToontownIntervals.cleanup方法的典型用法代码示例。如果您正苦于以下问题:Python ToontownIntervals.cleanup方法的具体用法?Python ToontownIntervals.cleanup怎么用?Python ToontownIntervals.cleanup使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在toontown.toonbase.ToontownIntervals的用法示例。


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

示例1: destroy

# 需要导入模块: from toontown.toonbase import ToontownIntervals [as 别名]
# 或者: from toontown.toonbase.ToontownIntervals import cleanup [as 别名]
 def destroy(self):
     if self.av:
         ToontownIntervals.cleanup(self.av.uniqueName('laffMeterBoing') + '-' + str(self.this))
         ToontownIntervals.cleanup(self.av.uniqueName('laffMeterBoing') + '-' + str(self.this) + '-play')
         self.ignore(self.av.uniqueName('hpChange'))
     
     del self.style
     del self.av
     del self.hp
     del self.maxHp
     if self.isToon:
         del self.frown
         del self.smile
         del self.openSmile
         del self.tooth1
         del self.tooth2
         del self.tooth3
         del self.tooth4
         del self.tooth5
         del self.tooth6
         del self.teeth
         del self.fractions
         del self.maxLabel
         del self.hpLabel
     
     DirectFrame.destroy(self)
开发者ID:OldToontown,项目名称:OldToontown,代码行数:28,代码来源:LaffMeter.py

示例2: destroy

# 需要导入模块: from toontown.toonbase import ToontownIntervals [as 别名]
# 或者: from toontown.toonbase.ToontownIntervals import cleanup [as 别名]
 def destroy(self):
     ToontownIntervals.cleanup('memocount_pulse')
     self._countLabel.removeNode()
     del self._countLabel
     self._memoIcon.removeNode()
     del self._memoIcon
     DirectFrame.destroy(self)
开发者ID:AdrianF98,项目名称:Toontown-Rewritten,代码行数:9,代码来源:CogdoMemoGui.py

示例3: delete

# 需要导入模块: from toontown.toonbase import ToontownIntervals [as 别名]
# 或者: from toontown.toonbase.ToontownIntervals import cleanup [as 别名]
 def delete(self):
     DistributedObject.DistributedObject.delete(self)
     ToontownIntervals.cleanup(self.__pulseIvalName())
     if self.model:
         self.model.removeNode()
         del self.model
         self.model = None
     self.ignore(self.uniqueName('enterbarrelSphere'))
开发者ID:Toonerz,项目名称:Toontown-World-Online-Leak,代码行数:10,代码来源:DistributedCogdoBarrel.py

示例4: animatedEffect

# 需要导入模块: from toontown.toonbase import ToontownIntervals [as 别名]
# 或者: from toontown.toonbase.ToontownIntervals import cleanup [as 别名]
 def animatedEffect(self, delta):
     if delta == 0 or self.av == None:
         return
     name = self.av.uniqueName('laffMeterBoing') + '-' + str(self.this)
     ToontownIntervals.cleanup(name)
     if delta > 0:
         ToontownIntervals.start(ToontownIntervals.getPulseLargerIval(self.container, name))
     else:
         ToontownIntervals.start(ToontownIntervals.getPulseSmallerIval(self.container, name))
     return
开发者ID:Toonerz,项目名称:Toontown-World-Online-Leaked-Source,代码行数:12,代码来源:LaffMeter.py

示例5: destroy

# 需要导入模块: from toontown.toonbase import ToontownIntervals [as 别名]
# 或者: from toontown.toonbase.ToontownIntervals import cleanup [as 别名]
    def destroy(self):
        ToontownIntervals.cleanup('bosscodedoor')
        self._model.removeNode()
        del self._model
        self._titleLabel.removeNode()
        del self._titleLabel
        for marker in self._markers:
            marker.destroy()

        del self._markers
        DirectFrame.destroy(self)
开发者ID:Teku16,项目名称:Toontown-Crystal-Master,代码行数:13,代码来源:CogdoMazeGameGuis.py

示例6: destroy

# 需要导入模块: from toontown.toonbase import ToontownIntervals [as 别名]
# 或者: from toontown.toonbase.ToontownIntervals import cleanup [as 别名]
 def destroy(self):
     ToontownIntervals.cleanup('present_fuel_gui')
     ToontownIntervals.cleanup('present_timer_gui')
     ToontownIntervals.cleanup('present_memo_gui')
     ToontownIntervals.cleanup('present_progress_gui')
     self._refuelGui.destroy()
     self._refuelGui = None
     self._memoGui.destroy()
     self._memoGui = None
     self._progressGui.destroy()
     self._progressGui = None
     self.destroyTimer()
     self._messageDisplay.destroy()
     self._messageDisplay = None
     self.root.removeNode()
     self.root = None
开发者ID:Toonerz,项目名称:Toontown-World-Online-Leak,代码行数:18,代码来源:CogdoFlyingGuiManager.py

示例7: destroy

# 需要导入模块: from toontown.toonbase import ToontownIntervals [as 别名]
# 或者: from toontown.toonbase.ToontownIntervals import cleanup [as 别名]
 def destroy(self):
     ToontownIntervals.cleanup('present_gui')
     ToontownIntervals.cleanup('present_timer')
     ToontownIntervals.cleanup('present_memo')
     self._hud.destroy()
     self._hud = None
     self._memoGui.destroy()
     self._memoGui = None
     if self._bossGui is not None:
         self._bossGui.destroy()
         self._bossGui = None
     self.messageDisplay.destroy()
     self.messageDisplay = None
     self.destroyMazeMap()
     self.destroyTimer()
     if self._presentGuiIval:
         self._presentGuiIval.pause()
         self._presentGuiIval = None
     if self._presentTimerIval:
         self._presentTimerIval.pause()
         self._presentTimerIval = None
开发者ID:Toonerz,项目名称:Toontown-World-Online-Leak,代码行数:23,代码来源:CogdoMazeGuiManager.py

示例8: showNumber

# 需要导入模块: from toontown.toonbase import ToontownIntervals [as 别名]
# 或者: from toontown.toonbase.ToontownIntervals import cleanup [as 别名]
 def showNumber(self):
     self.setHit(False)
     self._bossIconX.show()
     ToontownIntervals.cleanup('boss_code%i' % self._id)
     ToontownIntervals.start(Sequence(Parallel(ToontownIntervals.getPresentGuiIval(self._bossIcon, '', startPos=(0, 0, -0.15))), Wait(1.0), ToontownIntervals.getPulseLargerIval(self._bg, ''), name='boss_code%i' % self._id))
开发者ID:Teku16,项目名称:Toontown-Crystal-Master,代码行数:7,代码来源:CogdoMazeGameGuis.py

示例9: setCount

# 需要导入模块: from toontown.toonbase import ToontownIntervals [as 别名]
# 或者: from toontown.toonbase.ToontownIntervals import cleanup [as 别名]
 def setCount(self, count):
     self._countLabel['text'] = str(count)
     self._countLabel.setText()
     ToontownIntervals.cleanup('memocount_pulse')
     ToontownIntervals.start(ToontownIntervals.getPulseLargerIval(self._memoIcon, 'memocount_pulse', scale=MEMOICON_SCALE))
开发者ID:AdrianF98,项目名称:Toontown-Rewritten,代码行数:7,代码来源:CogdoMemoGui.py


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