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)
def delete(self): DistributedMinigameAI.delete(self) taskMgr.remove( self.taskName(DistCogdoMazeGameAI.TIMER_EXPIRED_TASK_NAME))