def generate(self):
     DistributedCCharBaseAI.generate(self)
     self.lonelyDoneEvent = self.taskName('DonaldDock-lonely-done')
     self.lonely = CharStateDatasAI.CharLonelyStateAI(
         self.lonelyDoneEvent, self)
     self.chattyDoneEvent = self.taskName('DonaldDock-chatty-done')
     self.chatty = CharStateDatasAI.CharChattyStateAI(
         self.chattyDoneEvent, self)
Ejemplo n.º 2
0
 def generate(self):
     DistributedCCharBaseAI.generate(self)
     name = self.getName()
     self.lonelyDoneEvent = self.taskName(name + '-lonely-done')
     self.lonely = CharStateDatasAI.CharLonelyStateAI(
         self.lonelyDoneEvent, self)
     self.chattyDoneEvent = self.taskName(name + '-chatty-done')
     self.chatty = CharStateDatasAI.ChipChattyStateAI(
         self.chattyDoneEvent, self)
     self.walkDoneEvent = self.taskName(name + '-walk-done')
     self.walk = CharStateDatasAI.CharWalkStateAI(self.walkDoneEvent, self)
Ejemplo n.º 3
0
 def generate(self):
     DistributedCCharBaseAI.generate(self)
     self.lonelyDoneEvent = self.taskName('pluto-lonely-done')
     self.lonely = CharStateDatasAI.CharLonelyStateAI(
         self.lonelyDoneEvent, self)
     self.chattyDoneEvent = self.taskName('pluto-chatty-done')
     self.chatty = CharStateDatasAI.CharChattyStateAI(
         self.chattyDoneEvent, self)
     self.walkDoneEvent = self.taskName('pluto-walk-done')
     if self.diffPath == None:
         self.walk = CharStateDatasAI.CharWalkStateAI(
             self.walkDoneEvent, self)
     else:
         self.walk = CharStateDatasAI.CharWalkStateAI(
             self.walkDoneEvent, self, self.diffPath)
 def generate(self):
     DistributedCCharBaseAI.generate(self)
     self.lonely = CharStateDatasAI.CharLonelyStateAI(None, self)
     self.chatty = CharStateDatasAI.CharChattyStateAI(None, self)
     self.followChip = CharStateDatasAI.CharFollowChipStateAI(
         None, self, self.chip)