Class AssetContainer
Inheritance
java.lang.Object
AssetContainer
Syntax
public class AssetContainer implements AssetI
Constructors
AssetContainer(Object object)
Declaration
public AssetContainer(Object object)
Parameters
Type |
Name |
Description |
Object |
object |
|
Methods
decAndGetRef()
Declaration
public int decAndGetRef()
Returns
Overrides
decRef()
Decrements the asset's reference count by one.
Declaration
Overrides
dispose()
Declaration
Overrides
getObject(Class<T> type)
Declaration
public <T> T getObject(Class<T> type)
Parameters
Type |
Name |
Description |
Class<T> |
type |
|
Returns
getRefs()
Returns the integer representation of the references.
Declaration
Returns
Type |
Description |
int |
The count of refrences.
|
Overrides
incAndGetRef()
Declaration
public int incAndGetRef()
Returns
Overrides
incRef()
Increments the asset's reference count by one.
Declaration
Overrides
setObject(Object asset)
Declaration
public void setObject(Object asset)
Parameters
Type |
Name |
Description |
Object |
asset |
|
setRefCount(int refCount)
Declaration
public void setRefCount(int refCount)
Parameters
Type |
Name |
Description |
int |
refCount |
|