Package com.prineside.tdi2.scene2d.ui
Class ParticleEffectActor
java.lang.Object
com.prineside.tdi2.scene2d.Actor
com.prineside.tdi2.scene2d.ui.ParticleEffectActor
- All Implemented Interfaces:
- Disposable
ParticleEffectActor holds an 
ParticleEffect to use in Scene2d applications. The particle effect is positioned at 0, 0
 in the ParticleEffectActor. Its bounding box is not limited to the size of this actor.- 
Constructor SummaryConstructorsConstructorDescriptionParticleEffectActor(FileHandle particleFile, FileHandle imagesDir) ParticleEffectActor(FileHandle particleFile, TextureAtlas atlas) ParticleEffectActor(ParticleEffect particleEffect, boolean resetOnStart) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidact(float delta) Updates the actor based on time.voidvoidcancel()voiddispose()Releases all resources of this object.voidDraws the actor.booleanbooleanbooleansetAutoRemove(boolean autoRemove) setResetOnStart(boolean resetOnStart) voidstart()Methods inherited from class com.prineside.tdi2.scene2d.ActoraddAction, addCaptureListener, addListener, ancestorsVisible, ascendantsVisible, clear, clearActions, clearListeners, clipBegin, clipBegin, clipEnd, debug, drawDebug, fire, firstAscendant, getActions, getCaptureListeners, getColor, getDebug, getHeight, getListeners, getName, getOriginX, getOriginY, getParent, getRight, getRotation, getScaleX, getScaleY, getStage, getTop, getTouchable, getUserObject, getWidth, getX, getX, getY, getY, getZIndex, hasActions, hasKeyboardFocus, hasParent, hasScrollFocus, hit, isAscendantOf, isDescendantOf, isTouchable, isTouchFocusListener, isTouchFocusTarget, isVisible, localToActorCoordinates, localToAscendantCoordinates, localToParentCoordinates, localToScreenCoordinates, localToStageCoordinates, moveBy, notify, parentToLocalCoordinates, remove, removeAction, removeCaptureListener, removeListener, rotateBy, scaleBy, scaleBy, screenToLocalCoordinates, setBounds, setColor, setColor, setDebug, setHeight, setName, setOrigin, setOrigin, setOriginX, setOriginY, setPosition, setPosition, setRotation, setScale, setScale, setScaleX, setScaleY, setSize, setTouchable, setUserObject, setVisible, setWidth, setX, setX, setY, setY, setZIndex, sizeBy, sizeBy, stageToLocalCoordinates, toBack, toFront, toString
- 
Constructor Details- 
ParticleEffectActor
- 
ParticleEffectActor
- 
ParticleEffectActor
 
- 
- 
Method Details- 
drawDescription copied from class:ActorDraws the actor. The batch is configured to draw in the parent's coordinate system.This draw methodis convenient to draw a rotated and scaled TextureRegion.Batch.begin()has already been called on the batch. IfBatch.end()is called to draw without the batch thenBatch.begin()must be called before the method returns.The default implementation does nothing. 
- 
actpublic void act(float delta) Description copied from class:ActorUpdates the actor based on time. Typically this is called each frame byStage.act(float).The default implementation calls Action.act(float)on each action and removes actions that are complete.
- 
startpublic void start()
- 
isResetOnStartpublic boolean isResetOnStart()
- 
setResetOnStart
- 
isAutoRemovepublic boolean isAutoRemove()
- 
setAutoRemove
- 
isRunningpublic boolean isRunning()
- 
getEffect
- 
cancelpublic void cancel()
- 
allowCompletionpublic void allowCompletion()
- 
disposepublic void dispose()Description copied from interface:com.badlogic.gdx.utils.DisposableReleases all resources of this object.- Specified by:
- disposein interface- Disposable
 
 
-