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


Python RepairMincroGame.destroy方法代码示例

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


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

示例1: destroy

# 需要导入模块: from RepairMincroGame import RepairMincroGame [as 别名]
# 或者: from RepairMincroGame.RepairMincroGame import destroy [as 别名]
 def destroy(self):
     RepairMincroGame.destroy(self)
     taskMgr.remove('SawingGame.updateSawTask')
     self.sawButton.destroy()
     self.sawButton.removeNode()
     del self.sawButton
     if self.currentBoard:
         self.currentBoard.removeNode()
         self.currentBoard = None
     
     if self.onDeckBoard:
         self.onDeckBoard.removeNode()
         self.onDeckBoard = None
     
     self.sawingLine = None
     self.progressDescriptionLabel.destroy()
     self.progressDescriptionLabel = None
     self.progressLabel.destroy()
     self.progressLabel = None
     self.boardDestroyedLabel.destroy()
     self.boardDestroyedLabel = None
     for key in self.boardsPool.keys():
         board = self.boardsPool[key]
         if not board.isEmpty():
             board.removeNode()
             continue
     
     self.boardsPool.clear()
     self.newBoardSequence.clearToInitial()
     del self.newBoardSequence
     self.splitBoardSequence.clearToInitial()
     del self.splitBoardSequence
     self.dropBoardSequence.clearToInitial()
     del self.dropBoardSequence
开发者ID:Puggyblue999,项目名称:PiratesOfTheCarribeanOnline,代码行数:36,代码来源:RepairSawingGame.py

示例2: destroy

# 需要导入模块: from RepairMincroGame import RepairMincroGame [as 别名]
# 或者: from RepairMincroGame.RepairMincroGame import destroy [as 别名]
 def destroy(self):
     RepairMincroGame.destroy(self)
     del self.currentNails
     self.board.removeNode()
     self.circle.removeNode()
     for n in self.nails:
         n.removeNode()
开发者ID:Puggyblue999,项目名称:PiratesOfTheCarribeanOnline,代码行数:9,代码来源:RepairHammeringGame.py

示例3: destroy

# 需要导入模块: from RepairMincroGame import RepairMincroGame [as 别名]
# 或者: from RepairMincroGame.RepairMincroGame import destroy [as 别名]
 def destroy(self):
     RepairMincroGame.destroy(self)
     for leakSet in (self.activeLeaks, self.inactiveLeaks, self.patchedLeaks):
         for i in range(len(leakSet)):
             leak = leakSet.pop()
         
     
     del self.activeLeaks
     del self.inactiveLeaks
     del self.patchedLeaks
     for locator in self.locators:
         locator.removeNode()
     
     del self.locators
     self.board.removeNode()
     del self.board
     self.crossHair.removeNode()
     del self.crossHair
     self.bucket.removeNode()
     del self.bucket
     self.bucketIdle.removeNode()
     del self.bucketIdle
     if self.missSeq is not None:
         self.missSeq.finish()
     
     del self.missSeq
     self.missPatch.removeNode()
     del self.missPatch
开发者ID:XamarinDeveloper,项目名称:Pirates-Online-Source,代码行数:30,代码来源:RepairPitchingGame.py

示例4: destroy

# 需要导入模块: from RepairMincroGame import RepairMincroGame [as 别名]
# 或者: from RepairMincroGame.RepairMincroGame import destroy [as 别名]
 def destroy(self):
     RepairMincroGame.destroy(self)
     self.scrubPowerMeter.detachNode()
     self.scrubPowerMeter = None
     self.scrubMeterBackground.detachNode()
     self.scrubMeterBackground = None
     self.scrubMeterBar.detachNode()
     self.scrubMeterBar = None
     self.scrubMeterFrame.detachNode()
     self.scrubMeterFrame = None
     del self.lastMousePos
     del self.currentBarnacles
     self.board.removeNode()
     del self.board
     self.brush.removeNode()
     del self.barnacles
开发者ID:Puggyblue999,项目名称:PiratesOfTheCarribeanOnline,代码行数:18,代码来源:RepairCareeningGame.py

示例5: destroy

# 需要导入模块: from RepairMincroGame import RepairMincroGame [as 别名]
# 或者: from RepairMincroGame.RepairMincroGame import destroy [as 别名]
 def destroy(self):
     RepairMincroGame.destroy(self)
开发者ID:Puggyblue999,项目名称:PiratesOfTheCarribeanOnline,代码行数:4,代码来源:RepairBracingGame.py


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