java.lang.Object
technology.sola.engine.assets.AssetLoader<AssetList>
technology.sola.engine.assets.list.AssetListAssetLoader
AssetListAssetLoader is an
AssetLoader implementation for AssetLists.-
Constructor Summary
ConstructorsConstructorDescriptionAssetListAssetLoader(AssetLoader<JsonElementAsset> jsonElementAssetAssetLoader) Creates an instance of this asset loader. -
Method Summary
Modifier and TypeMethodDescriptionprotected AssetHandle<AssetList>Returns anAssetHandlefor the specified path and beings loading theAsset.Methods inherited from class technology.sola.engine.assets.AssetLoader
addAsset, addAssetMapping, get, getNewAsset, hasAssetMapping
-
Constructor Details
-
AssetListAssetLoader
Creates an instance of this asset loader.- Parameters:
jsonElementAssetAssetLoader- theAssetLoaderforJsonElementAssets used internally
-
-
Method Details
-
getAssetClass
- Specified by:
getAssetClassin classAssetLoader<AssetList>- Returns:
- The
Classof theAsset
-
loadAsset
Description copied from class:AssetLoaderReturns anAssetHandlefor the specified path and beings loading theAsset.- Specified by:
loadAssetin classAssetLoader<AssetList>- Parameters:
path- the path to the asset- Returns:
- the
AssetHandlefor the path
-