def announceGenerate(self):
     DistributedDistrict.announceGenerate(self)
     self.worldCreator = base.worldCreator
     self.worldCreator.district = self
     if self.shardType == PiratesGlobals.SHARD_MAIN:
         self.worldCreator.makeMainWorld(self.mainWorldFile)
 def delete(self):
     DistributedDistrict.delete(self)
     if self.worldCreator:
         self.worldCreator.destroy()
 def delete(self):
     DistributedDistrict.delete(self)
     if self.worldCreator:
         self.worldCreator.destroy()
 def __init__(self, cr):
     DistributedDistrict.__init__(self, cr)
     self.mainWorldFile = None
     self.shardType = 0
 def announceGenerate(self):
     DistributedDistrict.announceGenerate(self)
     self.worldCreator = base.worldCreator
     self.worldCreator.district = self
     if self.shardType == PiratesGlobals.SHARD_MAIN:
         self.worldCreator.makeMainWorld(self.mainWorldFile)
 def __init__(self, cr):
     DistributedDistrict.__init__(self, cr)
     self.mainWorldFile = None
     self.shardType = 0
     self.invasionStatus = 0
Пример #7
0
 def generate(self):
     DistributedDistrict.generate(self)
 def __init__(self, cr):
     DistributedDistrict.__init__(self, cr)
     self.mainWorldFile = None
     self.shardType = 0
Пример #9
0
 def generate(self):
     DistributedDistrict.generate(self)