當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。