def generate(self): self.notify.info("loading spec") spec = self.getLevelSpec() if __dev__: self.notify.info("creating entity type registry") typeReg = self.getEntityTypeReg() spec.setEntityTypeReg(typeReg) DistributedLevelAI.generate(self, spec) DistCogdoGameAI.generate(self) self.startHandleEdits()
def generate(self): self.notify.info('loading spec') spec = self.getLevelSpec() if __dev__: self.notify.info('creating entity type registry') typeReg = self.getEntityTypeReg() spec.setEntityTypeReg(typeReg) DistributedLevelAI.generate(self, spec) DistCogdoGameAI.generate(self) self.startHandleEdits()
def delete(self): if __dev__: self.stopHandleEdits() DistCogdoGameAI.delete(self) DistributedLevelAI.delete(self, deAllocZone=False)
def __init__(self, air, interior): DistCogdoGameAI.__init__(self, air, interior) DistributedLevelAI.__init__(self, air, self.zoneId, 0, self.getToonIds())
def delete(self): self.stopHandleEdits() DistCogdoGameAI.delete(self) DistributedLevelAI.delete(self, deAllocZone=False)
def __init__(self, air, zoneId, entranceId, avIds): DistributedLevelAI.__init__(self, air, zoneId, entranceId, avIds) DistCogdoGameAI.__init__(self, air)