def save(self, filename): data = self.sim.savedata() data['stage'] = self._stage data['peoplet'] = self._peopleticks Data.save(filename, data)
def save(self, filename): Data.save(filename, self.savedata())
def save(self, filename): Data.save(filename, random.getstate(), self._dp, self._build, self._splitnum, self.tiles, self._shapes)