Ejemplo n.º 1
0
 def generate(self):
     DistributedPartyActivityAI.generate(self)
     self._partyEndedEvent = self.air.partyManager.getPartyEndedEvent(
         self.party.partyInfo.hostId)
     self.accept(self._partyEndedEvent, self._handlePartyEnded)
     self.conclusionCountdownTask = self.uniqueName(
         "PartyCatchConclusionCountdownTask")
     self.conclusionFinishTask = self.uniqueName(
         "PartyCatchConclusionFinishTask")
     self.activityFSM.request("Idle")
     # game is always running
     self.activityFSM.request("Active")
    def generate(self):
        DistributedPartyActivityAI.generate(self)
        self.notify.debug("generate")

        self.activityFSM.request("WaitForEnough")
 def generate(self):
     DistributedPartyActivityAI.generate(self)
     self.sendUpdate(
         'setState',
         ['Active', globalClockDelta.getRealNetworkTime()])
 def generate(self):
     DistributedPartyActivityAI.generate(self)
     self.sendUpdate('setState', ['Active', globalClockDelta.getRealNetworkTime()])
Ejemplo n.º 5
0
 def generate(self):
     DistributedPartyActivityAI.generate(self)
     self.__playNextSong()