Esempio n. 1
0
 def _destroy(self):
     if not self.exterior_box:
         return  # return if the exterior box hasn't been created
     membrane_base.destroy_helper(self)
     self.world.DestroyBody(self.object1)
     self.world.DestroyBody(self.object2)
     self.object1 = None
     self.object2 = None
 def _destroy(self):
     if not self.exterior_box:
         return  # return if the exterior box hasn't been created
     membrane_base.destroy_helper(self)