Example #1
0
 def cleanup(self):
     FSM.cleanup(self)
     if hasattr(self, 'av'):
         self.ignoreAll()
         self.motionAnimFSM.cleanup()
         del self.motionAnimFSM
         del self.av
         self.movementKeys = {}
 def cleanup(self):
     FSM.cleanup(self)
     if hasattr(self, 'av'):
         self.ignoreAll()
         self.motionAnimFSM.cleanup()
         del self.motionAnimFSM
         del self.av
         self.movementKeys = { }
Example #3
0
    def cleanup(self):
        if not self.isInTransition():
            FSM.cleanup(self)

        self.landIval = None
        self.landRunIval = None
        self.idleJumpIval = None
        if hasattr(self, 'av'):
            self.ignoreAll()
            del self.av
    def cleanup(self):
        if not self.isInTransition():
            FSM.cleanup(self)

        self.landIval = None
        self.landRunIval = None
        self.idleJumpIval = None
        if hasattr(self, 'av'):
            self.ignoreAll()
            del self.av
 def disable(self):
     FSM.cleanup(self)
     self.ignore(self.uniqueName('enterStartingBlockSphere'))
     self.ignore('stoppedAsleep')
     self.setOccupied(0)
     self.avId = 0
     self.nodePath.detachNode()
     self.kartPad = None
     if self.holeActor:
         self.holeActor.cleanup()
         self.holeActor = None
     DistributedObject.DistributedObject.disable(self)
 def disable(self):
     FSM.cleanup(self)
     self.ignore(self.uniqueName('enterStartingBlockSphere'))
     self.ignore('stoppedAsleep')
     self.setOccupied(0)
     self.avId = 0
     self.nodePath.detachNode()
     self.kartPad = None
     if self.holeActor:
         self.holeActor.cleanup()
         self.holeActor = None
     DistributedObject.DistributedObject.disable(self)
     return
Example #7
0
 def cleanup(self):
     FSM.cleanup(self)
     if hasattr(self, 'cameras'):
         self._rmbToken.release()
         del self._rmbToken
         self.ignoreAll()
         del self.cameras
         del self.currentCamera
         self.orbitCamera.destroy()
         del self.orbitCamera
         self.fpsCamera.destroy()
         del self.fpsCamera
         self.cannonCamera.destroy()
         del self.cannonCamera
         self.cannonDefenseCamera.destroy()
         del self.cannonDefenseCamera
Example #8
0
    def disable(self):
        """
        Comment
        """
        FSM.cleanup(self)
        #self.notify.debugStateCall( self )
        self.ignore(self.uniqueName('enterStartingBlockSphere'))
        self.ignore("stoppedAsleep")
        self.setOccupied(0)
        self.avId = 0
        self.nodePath.detachNode()
        self.kartPad = None
        if self.holeActor:
            self.holeActor.cleanup()
            self.holeActor = None

        # Call Super Class Disable Routine
        DistributedObject.DistributedObject.disable(self)
 def __cleanup(self):
     ZoneLOD.cleanup(self)
     FSM.cleanup(self)
Example #10
0
 def delete(self):
     DistributedKartPadAI.delete(self)
     FSM.cleanup(self)
Example #11
0
 def __cleanup(self):
     ZoneLOD.cleanup(self)
     FSM.cleanup(self)