Beispiel #1
0
 def deleteClerk(self):
     DistributedShop.deleteClerk(self)
     if hasattr(self, 'standText'):
         self.standText.destroy()
         self.stand.removeNode()
         del self.standText
         del self.stand
 def deleteClerk(self):
     DistributedShop.deleteClerk(self)
     if hasattr(self, 'standText'):
         self.standText.destroy()
         self.stand.removeNode()
         del self.standText
         del self.stand
 def deleteClerk(self):
     if hasattr(self, 'barrel'):
         for gag in self.barrel.getChildren():
             if isinstance(gag, Actor):
                 gag.cleanup()
             else:
                 gag.removeNode()
         self.barrel.removeNode()
         del self.barrel
     DistributedShop.deleteClerk(self)
Beispiel #4
0
    def deleteClerk(self):
        if hasattr(self, 'barrel'):
            for gag in self.barrel.getChildren():
                if isinstance(gag, Actor):
                    gag.cleanup()
                else:
                    gag.removeNode()

            self.barrel.removeNode()
            del self.barrel
        DistributedShop.deleteClerk(self)