public class NovaEmitter extends RectangularEmitter implements Reusable, Timeline.Listener, Animator.AnimatorListener
ParticleEmitter.Listener| Modifier and Type | Field and Description |
|---|---|
protected Animator |
mAnimator |
protected NovaEmitterVO |
mEmitterVO |
protected NovaFactory |
mFactory |
protected |
mLayers |
protected MotionTrail |
mMotionTrail |
protected java.lang.Object[] |
mParams |
protected Timeline |
mTimeline |
mFinished, mListener, mRandom, mRemoveOnFinish, nNumParticlesATT_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, TAGFLIP_X, FLIP_YALL, 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| Constructor and Description |
|---|
NovaEmitter(NovaFactory factory,
NovaEmitterVO vo,
PointF pos,
java.lang.Object... params) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createLayers() |
protected void |
createManipulators() |
Animator |
getAnimator() |
NovaEmitterVO |
getEmitterVO() |
Timeline |
getTimeline() |
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 |
onParticleFinish(Particle particle) |
void |
onRemoved()
This is called after this object is removed from a Container
|
void |
onTimelineComplete(Timeline timeline) |
void |
reset(java.lang.Object... params) |
addParticle, dispose, drawChildren, finish, getListener, getNextPosition, getNextPosition, getNumParticles, isFinished, isRemoveOnFinish, queueFinish, removeParticle, setListener, setRemoveOnFinishaddManipulator, draw, drawBounds, drawEnd, drawStart, drawWireframe, 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, setOriginAtCenter, setPerspectiveEnabled, setPivot, setPivot, setPivotAtCenter, setPosition, setPosition, setRotation, setRotationVector, setScale, setScale, setSize, setSize, setSkew, setUIConstraint, setVisible, setX, setXMLAttributes, setY, setZ, shouldDraw, toString, update, updateBounds, updateChildren, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetPosition, getSizeprotected final Timeline mTimeline
protected final NovaFactory mFactory
protected NovaEmitterVO mEmitterVO
protected java.lang.Object[] mParams
protected Animator mAnimator
protected MotionTrail mMotionTrail
protectedmLayers
public NovaEmitter(NovaFactory factory, NovaEmitterVO vo, PointF pos, java.lang.Object... params)
public NovaEmitterVO getEmitterVO()
public Animator getAnimator()
public Timeline getTimeline()
protected void createManipulators()
protected void createLayers()
public void onParticleFinish(Particle particle)
onParticleFinish in interface Particle.ListeneronParticleFinish in class RectangularEmitterpublic void onAdded(Container parent)
BaseDisplayObjectonAdded in interface DisplayObjectonAdded in class BaseDisplayObjectpublic void onRemoved()
BaseDisplayObjectonRemoved in interface DisplayableonRemoved in class RectangularEmitterpublic void onAnimationEnd(Animator animator)
onAnimationEnd in interface Animator.AnimatorListenerpublic void onAnimationUpdate(Animator animator, float value)
onAnimationUpdate in interface Animator.AnimatorListenerpublic void onTimelineComplete(Timeline timeline)
onTimelineComplete in interface Timeline.Listener