com.badlogic.gdx.assets
Class AssetDescriptor<T>
java.lang.Object
com.badlogic.gdx.assets.AssetDescriptor<T>
public class AssetDescriptor<T>
- extends java.lang.Object
Describes an asset to be loaded by it's filename, type and AssetLoaderParameters
. Instances of this are used in
AssetLoadingTask
to load the actual asset.
- Author:
- mzechner
Method Summary |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
fileName
public final java.lang.String fileName
type
public final java.lang.Class<T> type
params
public final AssetLoaderParameters params
AssetDescriptor
public AssetDescriptor(java.lang.String fileName,
java.lang.Class<T> assetType)
AssetDescriptor
public AssetDescriptor(java.lang.String fileName,
java.lang.Class<T> assetType,
AssetLoaderParameters<T> params)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)