(floor_size=10, remove_ball=True)
return make_model(floor_size, remove_ball), assets
Returns a tuple containing the model XML string and a dict of assets.
Returns a tuple containing the model XML string and a dict of assets.
Returns a tuple containing the model XML string and a dict of assets .
def get_model_and_assets(floor_size=10, remove_ball=True):
  """Returns a tuple containing the model XML string and a dict of assets."""
  assets = common.ASSETS.copy()
  _, _, filenames = next(resources.WalkResources(_ASSET_DIR))
  for filename in filenames:
    assets[filename] = resources.GetResource(os.path.join(_ASSET_DIR, filename))
  return make_model(floor_size, remove_ball), assets
def get_model_and_assets ( floor_size = 10 , remove_ball = True ) : assets = common . ASSETS . copy ( ) _ , _ , filenames = next ( resources . WalkResources ( _ASSET_DIR ) ) for filename in filenames : assets [ filename ] = resources . GetResource ( os . path . join ( _ASSET_DIR , filename ) ) return make_model ( floor_size , remove_ball ) , assets