def __init__(self, air, id):
     try:
         self.DistMazeCogdoGameAI_initialized
     except:
         self.DistMazeCogdoGameAI_initialized = 1
         DistributedMinigameAI.__init__(self, air, id)
         self.toonsInDoor = []
 def __init__(self, air, id):
     try:
         self.DistMazeCogdoGameAI_initialized
     except:
         self.DistMazeCogdoGameAI_initialized = 1
         DistributedMinigameAI.__init__(self, air, id)
         self.toonsInDoor = []
 def __init__(self, air, id):
     try:
         self.DistCogdoFlyingGameAI_initialized
     except:
         self.DistCogdoFlyingGameAI_initialized = 1
         DistributedMinigameAI.__init__(self, air, id)
         print 'FLYING COGDO GAME AI CREATED!'
 def gameOver(self):
     self.exitPlay()
     DistributedMinigameAI.gameOver(self)
 def setGameStart(self, timestamp):
     DistributedMinigameAI.setGameStart(self, timestamp)
     self.enterPlay()
 def setExpectedAvatars(self, avIds):
     DistributedMinigameAI.setExpectedAvatars(self, avIds)
     self._initLocks()
 def delete(self):
     DistributedMinigameAI.delete(self)
     taskMgr.remove(self.taskName(DistCogdoMazeGameAI.TIMER_EXPIRED_TASK_NAME))
 def setAvatarReady(self):
     DistributedMinigameAI.setAvatarReady(self)
示例#9
0
 def delete(self):
     DistributedMinigameAI.delete(self)
     taskMgr.remove(
         self.taskName(DistCogdoMazeGameAI.TIMER_EXPIRED_TASK_NAME))
示例#10
0
 def gameOver(self):
     self.exitPlay()
     DistributedMinigameAI.gameOver(self)
示例#11
0
    def setGameStart(self, timestamp):
        DistributedMinigameAI.setGameStart(self, timestamp)

        self.enterPlay()
示例#12
0
    def setExpectedAvatars(self, avIds):
        DistributedMinigameAI.setExpectedAvatars(self, avIds)

        self._initLocks()