AnimatedParticle Class
An individual particle image with an animation. While this class may be functional, it has not gotten thorough testing or examples yet, and is not considered to be release ready.
Constructor
AnimatedParticle
(
-
emitter
Parameters:
-
emitter
EmitterThe emitter that controls this AnimatedParticle.
Methods
applyArt
(
-
art
Sets the textures for the particle.
Parameters:
-
art
ArrayAn array of pixi.textures.Texture objects for this animated particle.
destroy
()
Destroys the particle, removing references and preventing future use.
init
()
Initializes the particle for use, based on the properties that have to have been set already on the particle.
update
(
-
delta
Updates the particle.
Parameters:
-
delta
FloatTime elapsed since the previous frame, in seconds.