public class NovaParticle extends ClipParticle implements Animator.AnimatorListener
Particle.Listener
mEmitter, mFinished, mListener
mAtlasFrame, mOffsetX, mOffsetY
mFocus, mTouchable, mTouchListener, mTouchPointerID
ATT_ASYNC, ATT_SOURCE, mColorBuffer, mTexture, mTextureCoordBuffer, mTextureCoordBufferScaled, mVertexBuffer, TAG
ATT_ALPHA, ATT_ANIMATOR, ATT_BLEND_MODE, ATT_COLOR, ATT_DEBUG, ATT_ORIGIN_AT_CENTER, ATT_ROTATION, ATT_VISIBLE, mAlive, mAlpha, mAlphaTestEnabled, mAutoUpdateBounds, mBlendFunc, mBounds, mBypassCameraClipping, mColor, mDebugFlags, mFrameDuration, mHasTransformValues, mId, mInvalidateFlags, mManipulators, mMask, mMatrix, mNumManipulators, mOrigin, mParent, mPerspectiveEnabled, mPivot, mPosition, mRotation, mRotationVectorX, mRotationVectorY, mRotationVectorZ, mScale, mScene, mSceneSize, mSize, mSkew, mTransformMatrix, mTransformMatrixValues, mUIConstraint, mVisible, mZ
FLIP_X, FLIP_Y
ALL, ALPHA, BLEND, BOUNDS, CACHE, CHILDREN, COLOR, DEPTH, FRAME, ORIGIN, PARENT, PARENT_BOUNDS, PERSPECTIVE, PIVOT, POSITION, ROTATION, SCALE, SIZE, SKEW, TEXTURE, TEXTURE_COORDS, TRANSFORM_MATRIX, VERTICES, VISIBILITY, VISUAL
LOOP_NONE, LOOP_REPEAT, LOOP_REVERSE
Constructor and Description |
---|
NovaParticle(NovaEmitter emitter,
NovaParticleVO particleVO,
int emitIndex) |
Modifier and Type | Method and Description |
---|---|
Animator |
getAnimator() |
NovaParticleVO |
getParticleVO() |
void |
onAdded(Container parent)
This is called after this object is added to a Container
|
void |
onAnimationEnd(Animator animator) |
void |
onAnimationUpdate(Animator animator,
float value) |
void |
onRemoved()
This is called after this object is removed from a Container
|
void |
reset(java.lang.Object... params) |
finish, getEmitter, getParticleListener, isFinished, queueFinish, setEmitter, setParticleListener
getAtlasFrameSet, getCurrentFrame, getFrameRect, getLoop, getNumFrames, isPlaying, onClipEnd, play, playAt, setAtlasFrameSet, setLoop, setOriginAtCenter, setXMLAttributes, stop, stopAt, update
getAtlasFrame, isSizeToFrame, isSizeToTexture, onTextureLoaded, setAtlasFrame, setSizeToFrame, setSizeToTexture, setTexture
drawWireframe, getTouchListener, hitTest, isTouchable, onTouchEvent, setRect, setSize, setTouchable, setTouchListener
dispose, drawChildren, drawStart, flipTextureCoordBuffer, getColorBuffer, getTexture, getTextureCoordBuffer, getVertexBuffer, setColorBuffer, setTextureCoordBuffer, setTextureCoordBuffer, setVertexBuffer, validateTextureCoordBuffer
addManipulator, draw, drawBounds, drawEnd, getAlpha, getBlendFunc, getBounds, getColor, getDebugFlags, getFps, getGlobalPosition, getHeight, getId, getInheritedBlendFunc, getInheritedColor, getManipulator, getMask, getMatrix, getNumManipulators, getObjectTree, getOrigin, getParent, getParentMatrix, getPivot, getPosition, getRotation, getScale, getScene, getSceneSize, getSize, getSkew, getUIConstraint, getWidth, getX, getY, getZ, globalToLocal, invalidate, invalidate, isAlive, isAlphaTestEnabled, isAutoUpdateBounds, isBypassCameraClipping, isOriginAtCenter, isPerspectiveEnabled, isVisible, localToGlobal, move, moveTo, onAddedToScene, onCreateChildren, onPreConcatParentMatrix, onRemovedFromScene, queueEvent, removeAllManipulators, removeFromParent, removeManipulator, rotate, setAlive, setAlpha, setAlphaTestEnabled, setAutoUpdateBounds, setBlendFunc, setBypassCameraClipping, setColor, setDebugFlags, setFps, setId, setMask, setOrigin, setOrigin, setPerspectiveEnabled, setPivot, setPivot, setPivotAtCenter, setPosition, setPosition, setRotation, setRotationVector, setScale, setScale, setSize, setSkew, setUIConstraint, setVisible, setX, setY, setZ, shouldDraw, toString, updateBounds, updateChildren, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
draw, isPerspectiveEnabled, onCreateChildren, setPerspectiveEnabled, setXMLAttributes
addManipulator, dispose, getAlpha, getBlendFunc, getBounds, getColor, getFps, getId, getInheritedBlendFunc, getInheritedColor, getManipulator, getNumManipulators, getObjectTree, getOrigin, getParent, getPivot, getScene, getSkew, getZ, globalToLocal, invalidate, invalidate, isAlive, isAutoUpdateBounds, isVisible, localToGlobal, onAddedToScene, onRemovedFromScene, queueEvent, removeAllManipulators, removeFromParent, removeManipulator, setAlive, setAlpha, setAutoUpdateBounds, setBlendFunc, setColor, setFps, setId, setOrigin, setOrigin, setOriginAtCenter, setPivot, setPivot, setPivotAtCenter, setSkew, setVisible, setZ, shouldDraw, update, updateBounds
getHeight, getPosition, getRotation, getScale, getSize, getWidth, getX, getY, move, moveTo, rotate, setPosition, setPosition, setRotation, setScale, setScale, setSize, setSize, setX, setY
public NovaParticle(NovaEmitter emitter, NovaParticleVO particleVO, int emitIndex)
public void reset(java.lang.Object... params)
reset
in interface Reusable
reset
in class ClipParticle
public NovaParticleVO getParticleVO()
public Animator getAnimator()
public void onAdded(Container parent)
BaseDisplayObject
onAdded
in interface DisplayObject
onAdded
in class Shape
public void onRemoved()
BaseDisplayObject
onRemoved
in interface Displayable
onRemoved
in class BaseDisplayObject
public void onAnimationEnd(Animator animator)
onAnimationEnd
in interface Animator.AnimatorListener
public void onAnimationUpdate(Animator animator, float value)
onAnimationUpdate
in interface Animator.AnimatorListener