예제 #1
0
    def cleanup(self):
        self.__disableCollisions(cleanup=True)
        for sphere in self._colSpheres:
            sphere.remove()

        self._colSpheres = []
        PhasedObject.cleanup(self)
예제 #2
0
 def cleanup(self):
     """
     Disables all collisions.
     Ignores all owned event listeners.
     Unloads all unloaded phases.        
     """
     self.__disableCollisions(cleanup = True)
     for sphere in self._colSpheres:
         sphere.remove()
     self._colSpheres = []
     PhasedObject.cleanup(self)
예제 #3
0
 def cleanup(self):
     """
     Disables all collisions.
     Ignores all owned event listeners.
     Unloads all unloaded phases.        
     """
     self.__disableCollisions(cleanup=True)
     for sphere in self._colSpheres:
         sphere.remove()
     self._colSpheres = []
     PhasedObject.cleanup(self)