def load_world(world, i_store, filename): with open(filename, 'r') as file: save_load.load_world(world, i_store, file)
def load_world(world, i_store, filename): # deals with files and we don't have a class that deals with files with open(filename, 'r') as file: save_load.load_world(world, i_store, file, RUN_AFTER_LOAD)
def load_world(world, i_store, filename): with open(filename, 'r') as file: save_load.load_world(world, i_store, file, RUN_AFTER_LOAD)
def load_world_controller(self, i_store, filename): with open(filename, 'r') as file: save_load.load_world(self, i_store, file)