| Modifier and Type | Field and Description |
|---|---|
| private FileHandleResolver | resolver
|
| Access | Constructor and Description |
|---|---|
| public | AssetLoader(FileHandleResolver resolver)
Constructor, sets the |
| Modifier and Type | Method and Description |
|---|---|
| public abstract Array | Returns: other assets that the asset depends on and need to be loaded first or null if there are no dependencies.name of the asset to load fileName, FileHandle the resolved file to load file, P parameters for loading the asset parameter)Returns the assets this asset requires to be loaded first. |
| public FileHandle | resolve(String
file name to resolve fileName)Returns: handle to the file, as resolved by the |
| resolver | back to summary |
|---|---|
| private FileHandleResolver resolver
| |
| AssetLoader | back to summary |
|---|---|
| public AssetLoader(FileHandleResolver resolver) Constructor, sets the | |
| getDependencies | back to summary |
|---|---|
| public abstract Array Returns the assets this asset requires to be loaded first. This method may be called on a thread other than the GL thread.
| |
| resolve | back to summary |
|---|---|
public FileHandle resolve(String fileName)
| |