Exemple #1
0
 def destroy(self):
     taskMgr.remove('helpInfoTask')
     taskMgr.remove(self.taskName('dragTask'))
     if self.helpBox:
         self.helpBox.destroy()
         self.helpBox = None
     del self.picture
     if self.weapon:
         taskMgr.remove(DGG.B1PRESS)
         taskMgr.remove(DGG.B2PRESS)
         taskMgr.remove(DGG.B3PRESS)
     StowawayListItem.destroy(self)
     return
 def destroy(self):
     taskMgr.remove('helpInfoTask')
     taskMgr.remove(self.taskName('dragTask'))
     if self.helpBox:
         self.helpBox.destroy()
         self.helpBox = None
     
     del self.picture
     if self.weapon:
         taskMgr.remove(DGG.B1PRESS)
         taskMgr.remove(DGG.B2PRESS)
         taskMgr.remove(DGG.B3PRESS)
     
     StowawayListItem.destroy(self)