public class AnimatedSprite extends TiledSprite
| Modifier and Type | Class and Description |
|---|---|
static interface |
AnimatedSprite.IAnimationListener |
IUpdateHandler.IUpdateHandlerMatcherIDisposable.AlreadyDisposedExceptionITouchArea.ITouchAreaMatcherTILEDSPRITE_SIZE, VERTEX_SIZE, VERTICES_PER_TILEDSPRITECOLOR_INDEX, mFlippedHorizontal, mFlippedVertical, mSpriteVertexBufferObject, mTextureRegion, SPRITE_SIZE, TEXTURECOORDINATES_INDEX_U, TEXTURECOORDINATES_INDEX_V, VERTEX_INDEX_X, VERTEX_INDEX_Y, VERTEXBUFFEROBJECTATTRIBUTES_DEFAULT, VERTICES_PER_SPRITEmHeight, mWidthmBlendFunctionDestination, mBlendFunctionSource, mBlendingEnabled, mShaderProgrammChildren, mChildrenIgnoreUpdate, mChildrenSortPending, mChildrenVisible, mColor, mCullingEnabled, mDisposed, mIgnoreUpdate, mRotation, mRotationCenterX, mRotationCenterY, mScaleCenterX, mScaleCenterY, mScaleX, mScaleY, mSkewCenterX, mSkewCenterY, mSkewX, mSkewY, mTag, mVisible, mX, mY, mZIndexBLENDFUNCTION_DESTINATION_DEFAULT, BLENDFUNCTION_DESTINATION_PREMULTIPLYALPHA_DEFAULT, BLENDFUNCTION_SOURCE_DEFAULT, BLENDFUNCTION_SOURCE_PREMULTIPLYALPHA_DEFAULTTAG_INVALID| Constructor and Description |
|---|
AnimatedSprite(float pX,
float pY,
float pWidth,
float pHeight,
ITiledTextureRegion pTiledTextureRegion,
ITiledSpriteVertexBufferObject pTiledSpriteVertexBufferObject) |
AnimatedSprite(float pX,
float pY,
float pWidth,
float pHeight,
ITiledTextureRegion pTiledTextureRegion,
ITiledSpriteVertexBufferObject pTiledSpriteVertexBufferObject,
ShaderProgram pShaderProgram) |
AnimatedSprite(float pX,
float pY,
float pWidth,
float pHeight,
ITiledTextureRegion pTiledTextureRegion,
VertexBufferObjectManager pVertexBufferObjectManager) |
AnimatedSprite(float pX,
float pY,
float pWidth,
float pHeight,
ITiledTextureRegion pTiledTextureRegion,
VertexBufferObjectManager pVertexBufferObjectManager,
DrawType pDrawType) |
AnimatedSprite(float pX,
float pY,
float pWidth,
float pHeight,
ITiledTextureRegion pTiledTextureRegion,
VertexBufferObjectManager pVertexBufferObjectManager,
DrawType pDrawType,
ShaderProgram pShaderProgram) |
AnimatedSprite(float pX,
float pY,
float pWidth,
float pHeight,
ITiledTextureRegion pTiledTextureRegion,
VertexBufferObjectManager pVertexBufferObjectManager,
ShaderProgram pShaderProgram) |
AnimatedSprite(float pX,
float pY,
ITiledTextureRegion pTiledTextureRegion,
ITiledSpriteVertexBufferObject pTiledSpriteVertexBufferObject) |
AnimatedSprite(float pX,
float pY,
ITiledTextureRegion pTiledTextureRegion,
ITiledSpriteVertexBufferObject pTiledSpriteVertexBufferObject,
ShaderProgram pShaderProgram) |
AnimatedSprite(float pX,
float pY,
ITiledTextureRegion pTiledTextureRegion,
VertexBufferObjectManager pVertexBufferObjectManager) |
AnimatedSprite(float pX,
float pY,
ITiledTextureRegion pTiledTextureRegion,
VertexBufferObjectManager pVertexBufferObjectManager,
DrawType pDrawType) |
AnimatedSprite(float pX,
float pY,
ITiledTextureRegion pTiledTextureRegion,
VertexBufferObjectManager pVertexBufferObjectManager,
DrawType pDrawType,
ShaderProgram pShaderProgram) |
AnimatedSprite(float pX,
float pY,
ITiledTextureRegion pTiledTextureRegion,
VertexBufferObjectManager pVertexBufferObjectManager,
ShaderProgram pShaderProgram) |
| Modifier and Type | Method and Description |
|---|---|
void |
animate(IAnimationData pAnimationData) |
void |
animate(IAnimationData pAnimationData,
AnimatedSprite.IAnimationListener pAnimationListener) |
void |
animate(long pFrameDurationEach) |
void |
animate(long[] pFrameDurations) |
void |
animate(long[] pFrameDurations,
AnimatedSprite.IAnimationListener pAnimationListener) |
void |
animate(long[] pFrameDurations,
boolean pLoop) |
void |
animate(long[] pFrameDurations,
boolean pLoop,
AnimatedSprite.IAnimationListener pAnimationListener) |
void |
animate(long[] pFrameDurations,
int pLoopCount) |
void |
animate(long[] pFrameDurations,
int[] pFrames)
Animate specifics frames.
|
void |
animate(long[] pFrameDurations,
int[] pFrames,
AnimatedSprite.IAnimationListener pAnimationListener)
Animate specifics frames.
|
void |
animate(long[] pFrameDurations,
int[] pFrames,
boolean pLoop)
Animate specifics frames.
|
void |
animate(long[] pFrameDurations,
int[] pFrames,
boolean pLoop,
AnimatedSprite.IAnimationListener pAnimationListener)
Animate specifics frames.
|
void |
animate(long[] pFrameDurations,
int[] pFrames,
int pLoopCount)
Animate specifics frames.
|
void |
animate(long[] pFrameDurations,
int[] pFrames,
int pLoopCount,
AnimatedSprite.IAnimationListener pAnimationListener)
Animate specifics frames.
|
void |
animate(long[] pFrameDurations,
int pLoopCount,
AnimatedSprite.IAnimationListener pAnimationListener) |
void |
animate(long[] pFrameDurations,
int pFirstTileIndex,
int pLastTileIndex,
boolean pLoop) |
void |
animate(long[] pFrameDurations,
int pFirstTileIndex,
int pLastTileIndex,
boolean pLoop,
AnimatedSprite.IAnimationListener pAnimationListener) |
void |
animate(long[] pFrameDurations,
int pFirstTileIndex,
int pLastTileIndex,
int pLoopCount) |
void |
animate(long[] pFrameDurations,
int pFirstTileIndex,
int pLastTileIndex,
int pLoopCount,
AnimatedSprite.IAnimationListener pAnimationListener) |
void |
animate(long pFrameDurationEach,
AnimatedSprite.IAnimationListener pAnimationListener) |
void |
animate(long pFrameDurationEach,
boolean pLoop) |
void |
animate(long pFrameDurationEach,
boolean pLoop,
AnimatedSprite.IAnimationListener pAnimationListener) |
void |
animate(long pFrameDurationEach,
int pLoopCount) |
void |
animate(long pFrameDurationEach,
int pLoopCount,
AnimatedSprite.IAnimationListener pAnimationListener) |
boolean |
isAnimationRunning() |
protected void |
onManagedUpdate(float pSecondsElapsed) |
void |
stopAnimation() |
void |
stopAnimation(int pTileIndex) |
draw, getCurrentTileIndex, getTextureRegion, getTileCount, getTiledTextureRegion, getVertexBufferObject, onUpdateColor, onUpdateTextureCoordinates, onUpdateVertices, setCurrentTileIndexisFlippedHorizontal, isFlippedVertical, postDraw, preDraw, reset, setFlipped, setFlippedHorizontal, setFlippedVerticalcollidesWith, contains, getHeight, getHeightScaled, getSceneCenterCoordinates, getSceneCenterCoordinates, getWidth, getWidthScaled, isCulled, resetRotationCenter, resetScaleCenter, resetSkewCenter, setHeight, setSize, setWidthdispose, getBlendFunctionDestination, getBlendFunctionSource, getShaderProgram, getVertexBufferObjectManager, initBlendFunction, initBlendFunction, initBlendFunction, isBlendingEnabled, onAreaTouched, setBlendFunction, setBlendFunctionDestination, setBlendFunctionSource, setBlendingEnabled, setShaderProgramapplyRotation, applyScale, applySkew, applyTranslation, attachChild, callOnChildren, callOnChildren, clearEntityModifiers, clearUpdateHandlers, convertLocalToSceneCoordinates, convertLocalToSceneCoordinates, convertLocalToSceneCoordinates, convertLocalToSceneCoordinates, convertSceneToLocalCoordinates, convertSceneToLocalCoordinates, convertSceneToLocalCoordinates, convertSceneToLocalCoordinates, detachChild, detachChild, detachChild, detachChildren, detachChildren, detachSelf, finalize, getAlpha, getBlue, getChildByIndex, getChildByMatcher, getChildByTag, getChildCount, getColor, getEntityModifierCount, getFirstChild, getGreen, getLastChild, getLocalToParentTransformation, getLocalToSceneTransformation, getParent, getParentToLocalTransformation, getRed, getRotation, getRotationCenterX, getRotationCenterY, getScaleCenterX, getScaleCenterY, getScaleX, getScaleY, getSceneToLocalTransformation, getSkewCenterX, getSkewCenterY, getSkewX, getSkewY, getTag, getUpdateHandlerCount, getUserData, getX, getY, getZIndex, hasParent, isChildrenIgnoreUpdate, isChildrenVisible, isCullingEnabled, isDisposed, isIgnoreUpdate, isRotated, isRotatedOrScaledOrSkewed, isScaled, isSkewed, isVisible, onApplyTransformations, onAttached, onDetached, onDraw, onManagedDraw, onUpdate, query, query, queryFirst, queryFirstForSubclass, queryForSubclass, queryForSubclass, registerEntityModifier, registerUpdateHandler, setAlpha, setBlue, setChildrenIgnoreUpdate, setChildrenVisible, setColor, setColor, setColor, setCullingEnabled, setGreen, setIgnoreUpdate, setParent, setPosition, setPosition, setRed, setRotation, setRotationCenter, setRotationCenterX, setRotationCenterY, setScale, setScale, setScaleCenter, setScaleCenterX, setScaleCenterY, setScaleX, setScaleY, setSkew, setSkew, setSkewCenter, setSkewCenterX, setSkewCenterY, setSkewX, setSkewY, setTag, setUserData, setVisible, setX, setY, setZIndex, sortChildren, sortChildren, sortChildren, toString, toString, unregisterEntityModifier, unregisterEntityModifiers, unregisterUpdateHandler, unregisterUpdateHandlersclone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBlendFunctionDestination, getBlendFunctionSource, getShaderProgram, getVertexBufferObjectManager, isBlendingEnabled, setBlendFunction, setBlendFunctionDestination, setBlendFunctionSource, setBlendingEnabled, setShaderProgramattachChild, callOnChildren, callOnChildren, clearEntityModifiers, clearUpdateHandlers, convertLocalToSceneCoordinates, convertLocalToSceneCoordinates, convertLocalToSceneCoordinates, convertLocalToSceneCoordinates, convertSceneToLocalCoordinates, convertSceneToLocalCoordinates, convertSceneToLocalCoordinates, convertSceneToLocalCoordinates, detachChild, detachChild, detachChild, detachChildren, detachChildren, detachSelf, getAlpha, getBlue, getChildByIndex, getChildByMatcher, getChildByTag, getChildCount, getColor, getEntityModifierCount, getFirstChild, getGreen, getLastChild, getLocalToParentTransformation, getLocalToSceneTransformation, getParent, getParentToLocalTransformation, getRed, getRotation, getRotationCenterX, getRotationCenterY, getScaleCenterX, getScaleCenterY, getScaleX, getScaleY, getSceneToLocalTransformation, getSkewCenterX, getSkewCenterY, getSkewX, getSkewY, getTag, getUpdateHandlerCount, getUserData, getX, getY, getZIndex, hasParent, isChildrenIgnoreUpdate, isChildrenVisible, isCullingEnabled, isIgnoreUpdate, isRotated, isRotatedOrScaledOrSkewed, isScaled, isSkewed, isVisible, onAttached, onDetached, query, query, queryFirst, queryFirstForSubclass, queryForSubclass, queryForSubclass, registerEntityModifier, registerUpdateHandler, setAlpha, setBlue, setChildrenIgnoreUpdate, setChildrenVisible, setColor, setColor, setColor, setCullingEnabled, setGreen, setIgnoreUpdate, setParent, setPosition, setPosition, setRed, setRotation, setRotationCenter, setRotationCenterX, setRotationCenterY, setScale, setScale, setScaleCenter, setScaleCenterX, setScaleCenterY, setScaleX, setScaleY, setSkew, setSkew, setSkewCenter, setSkewCenterX, setSkewCenterY, setSkewX, setSkewY, setTag, setUserData, setVisible, setX, setY, setZIndex, sortChildren, sortChildren, sortChildren, toString, unregisterEntityModifier, unregisterEntityModifiers, unregisterUpdateHandler, unregisterUpdateHandlersonDrawonUpdatedispose, isDisposedconvertLocalToSceneCoordinates, convertSceneToLocalCoordinates, onAreaTouchedpublic AnimatedSprite(float pX,
float pY,
ITiledTextureRegion pTiledTextureRegion,
VertexBufferObjectManager pVertexBufferObjectManager)
public AnimatedSprite(float pX,
float pY,
ITiledTextureRegion pTiledTextureRegion,
VertexBufferObjectManager pVertexBufferObjectManager,
ShaderProgram pShaderProgram)
public AnimatedSprite(float pX,
float pY,
ITiledTextureRegion pTiledTextureRegion,
VertexBufferObjectManager pVertexBufferObjectManager,
DrawType pDrawType)
public AnimatedSprite(float pX,
float pY,
ITiledTextureRegion pTiledTextureRegion,
VertexBufferObjectManager pVertexBufferObjectManager,
DrawType pDrawType,
ShaderProgram pShaderProgram)
public AnimatedSprite(float pX,
float pY,
ITiledTextureRegion pTiledTextureRegion,
ITiledSpriteVertexBufferObject pTiledSpriteVertexBufferObject)
public AnimatedSprite(float pX,
float pY,
ITiledTextureRegion pTiledTextureRegion,
ITiledSpriteVertexBufferObject pTiledSpriteVertexBufferObject,
ShaderProgram pShaderProgram)
public AnimatedSprite(float pX,
float pY,
float pWidth,
float pHeight,
ITiledTextureRegion pTiledTextureRegion,
VertexBufferObjectManager pVertexBufferObjectManager)
public AnimatedSprite(float pX,
float pY,
float pWidth,
float pHeight,
ITiledTextureRegion pTiledTextureRegion,
VertexBufferObjectManager pVertexBufferObjectManager,
ShaderProgram pShaderProgram)
public AnimatedSprite(float pX,
float pY,
float pWidth,
float pHeight,
ITiledTextureRegion pTiledTextureRegion,
VertexBufferObjectManager pVertexBufferObjectManager,
DrawType pDrawType)
public AnimatedSprite(float pX,
float pY,
float pWidth,
float pHeight,
ITiledTextureRegion pTiledTextureRegion,
VertexBufferObjectManager pVertexBufferObjectManager,
DrawType pDrawType,
ShaderProgram pShaderProgram)
public AnimatedSprite(float pX,
float pY,
float pWidth,
float pHeight,
ITiledTextureRegion pTiledTextureRegion,
ITiledSpriteVertexBufferObject pTiledSpriteVertexBufferObject)
public AnimatedSprite(float pX,
float pY,
float pWidth,
float pHeight,
ITiledTextureRegion pTiledTextureRegion,
ITiledSpriteVertexBufferObject pTiledSpriteVertexBufferObject,
ShaderProgram pShaderProgram)
public boolean isAnimationRunning()
protected void onManagedUpdate(float pSecondsElapsed)
onManagedUpdate in class Entitypublic void stopAnimation()
public void stopAnimation(int pTileIndex)
public void animate(long pFrameDurationEach)
public void animate(long pFrameDurationEach,
AnimatedSprite.IAnimationListener pAnimationListener)
public void animate(long pFrameDurationEach,
boolean pLoop)
public void animate(long pFrameDurationEach,
boolean pLoop,
AnimatedSprite.IAnimationListener pAnimationListener)
public void animate(long pFrameDurationEach,
int pLoopCount)
public void animate(long pFrameDurationEach,
int pLoopCount,
AnimatedSprite.IAnimationListener pAnimationListener)
public void animate(long[] pFrameDurations)
public void animate(long[] pFrameDurations,
AnimatedSprite.IAnimationListener pAnimationListener)
public void animate(long[] pFrameDurations,
boolean pLoop)
public void animate(long[] pFrameDurations,
boolean pLoop,
AnimatedSprite.IAnimationListener pAnimationListener)
public void animate(long[] pFrameDurations,
int pLoopCount)
public void animate(long[] pFrameDurations,
int pLoopCount,
AnimatedSprite.IAnimationListener pAnimationListener)
public void animate(long[] pFrameDurations,
int pFirstTileIndex,
int pLastTileIndex,
boolean pLoop)
public void animate(long[] pFrameDurations,
int pFirstTileIndex,
int pLastTileIndex,
boolean pLoop,
AnimatedSprite.IAnimationListener pAnimationListener)
public void animate(long[] pFrameDurations,
int pFirstTileIndex,
int pLastTileIndex,
int pLoopCount)
public void animate(long[] pFrameDurations,
int pFirstTileIndex,
int pLastTileIndex,
int pLoopCount,
AnimatedSprite.IAnimationListener pAnimationListener)
public void animate(long[] pFrameDurations,
int[] pFrames)
pFrameDurations - must have the same length as pFrames.pFrames - indices of the frames to animate.public void animate(long[] pFrameDurations,
int[] pFrames,
AnimatedSprite.IAnimationListener pAnimationListener)
pFrameDurations - must have the same length as pFrames.pFrames - indices of the frames to animate.pAnimationListener - public void animate(long[] pFrameDurations,
int[] pFrames,
boolean pLoop)
pFrameDurations - must have the same length as pFrames.pFrames - indices of the frames to animate.pLoop - public void animate(long[] pFrameDurations,
int[] pFrames,
boolean pLoop,
AnimatedSprite.IAnimationListener pAnimationListener)
pFrameDurations - must have the same length as pFrames.pFrames - indices of the frames to animate.pLoop - pAnimationListener - public void animate(long[] pFrameDurations,
int[] pFrames,
int pLoopCount)
pFrameDurations - must have the same length as pFrames.pFrames - indices of the frames to animate.pLoopCount - public void animate(long[] pFrameDurations,
int[] pFrames,
int pLoopCount,
AnimatedSprite.IAnimationListener pAnimationListener)
pFrameDurations - must have the same length as pFrames.pFrames - indices of the frames to animate.pLoopCount - pAnimationListener - public void animate(IAnimationData pAnimationData)
public void animate(IAnimationData pAnimationData, AnimatedSprite.IAnimationListener pAnimationListener)