def announceGenerate(self): DistributedInstanceWorld.announceGenerate(self) self.eventRng = random.Random(self.doId)