def save_world(world, filename): with open(filename, 'w') as file: save_load.save_world(world, file)
def save_world_controller(self, filename): with open(filename, 'w') as file: save_load.save_world(self, file)