本文整理匯總了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)