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


Python CogdoFlyingPlayer.unload方法代码示例

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


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

示例1: unload

# 需要导入模块: from CogdoFlyingPlayer import CogdoFlyingPlayer [as 别名]
# 或者: from CogdoFlyingPlayer.CogdoFlyingPlayer import unload [as 别名]
 def unload(self):
     self.toon.showName()
     self.toon.collisionsOn()
     self._destroyEventIval()
     self._destroyEnemyHitIval()
     CogdoFlyingPlayer.unload(self)
     self._fanSfx.stop()
     self.flyerCollisions.deleteCollisions()
     del self.flyerCollisions
     self.ignoreAll()
     taskMgr.remove('delayedLandOnPlatform')
     taskMgr.remove('delayedLandOnWinPlatform')
     self.checkpointPlatform = None
     self._cameraMgr.disable()
     del self._cameraMgr
     del self.game
     self._inputMgr.destroy()
     del self._inputMgr
     self.introGuiSeq.clearToInitial()
     del self.introGuiSeq
     if self.goSadSequence:
         self.goSadSequence.clearToInitial()
         del self.goSadSequence
     if self.coolDownAfterHitInterval:
         self.coolDownAfterHitInterval.clearToInitial()
         del self.coolDownAfterHitInterval
     if self.deathInterval:
         self.deathInterval.clearToInitial()
         del self.deathInterval
     if self.spawnInterval:
         self.spawnInterval.clearToInitial()
         del self.spawnInterval
     if self.outOfTimeInterval:
         self.outOfTimeInterval.clearToInitial()
         del self.outOfTimeInterval
     if self.winInterval:
         self.winInterval.clearToInitial()
         del self.winInterval
     if self.waitingForWinInterval:
         self.waitingForWinInterval.clearToInitial()
         del self.waitingForWinInterval
     if self.waitingForWinSeq:
         self.waitingForWinSeq.clearToInitial()
         del self.waitingForWinSeq
     del self.activeFans[:]
     del self.fansStillHavingEffect[:]
     self.fanIndex2ToonVelocity.clear()
     self.orthoWalk.stop()
     self.orthoWalk.destroy()
     del self.orthoWalk
     self.destroySfx()
     return
开发者ID:NostalgicTTR,项目名称:Toontown-Infinite-2016-Leak,代码行数:54,代码来源:CogdoFlyingLocalPlayer.py


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