예제 #1
0
 def exit(self):
     SuitPathBehaviorAI.exit(self)
     self.fsm.requestFinalState()
     taskMgr.remove(self.followBossTaskName)
 def exit(self):
     SuitPathBehaviorAI.exit(self)
     self.toonsInRange = []
     self.isPanicked = False
     self.closestToon = None
     self.resetMaxPanicTime()
예제 #3
0
    def enter(self):
        SuitPathBehaviorAI.enter(self)

        # Let's start following the boss.
        self.fsm.request('follow')
예제 #4
0
 def enter(self):
     SuitPathBehaviorAI.enter(self)
     self.createPath()
예제 #5
0
 def unload(self):
     del self.spot
     SuitPathBehaviorAI.unload(self)
예제 #6
0
 def __init__(self, suit, spot):
     SuitPathBehaviorAI.__init__(self, suit)
     self.spot = spot
 def enter(self):
     SuitPathBehaviorAI.enter(self)
     self.createPath(fromCurPos=True)
 def __init__(self, suit):
     SuitPathBehaviorAI.__init__(self, suit)
     self.isEntered = 0