本文整理汇总了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
示例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()
示例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
示例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
示例5: destroy
# 需要导入模块: from RepairMincroGame import RepairMincroGame [as 别名]
# 或者: from RepairMincroGame.RepairMincroGame import destroy [as 别名]
def destroy(self):
RepairMincroGame.destroy(self)