Class AnimatedTextureID
java.lang.Object
zombie.asset.Asset
zombie.core.textures.AnimatedTextureID
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Nested classes/interfaces inherited from class zombie.asset.Asset
Asset.ObserverCallback, Asset.State
-
Field Summary
FieldsFields inherited from class zombie.asset.Asset
isDefered, m_asset_manager
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AnimatedTextureID
(AssetPath assetPath, AssetManager assetManager, AnimatedTextureID.AnimatedTextureIDAssetParams animatedTextureIDAssetParams) -
Method Summary
Methods inherited from class zombie.asset.Asset
addDependency, getAssetManager, getObserverCb, getPath, getRefCount, getState, isEmpty, isFailure, isReady, onBeforeEmpty, onBeforeReady, onCreated, removeDependency, setAssetParams
-
Field Details
-
ASSET_TYPE
-
frames
-
assetParams
-
-
Constructor Details
-
AnimatedTextureID
protected AnimatedTextureID(AssetPath assetPath, AssetManager assetManager, AnimatedTextureID.AnimatedTextureIDAssetParams animatedTextureIDAssetParams)
-
-
Method Details
-
getType
-
setImageData
-
getWidth
public int getWidth() -
getHeight
public int getHeight() -
getFrameCount
public int getFrameCount() -
getFrame
-
isDestroyed
public boolean isDestroyed() -
destroy
public void destroy()
-