ParticleSystem:clone

Available since LÖVE 0.9.1
This function is not supported in earlier versions.

Creates an identical copy of the ParticleSystem in the stopped state.

Function

Synopsis

particlesystem = ParticleSystem:clone( )

Arguments

None.

Returns

ParticleSystem particlesystem
The new identical copy of this ParticleSystem.

Notes

Cloned ParticleSystem inherit all the set-able state of the original ParticleSystem, but they are initialized stopped.

See Also

Other Languages

Personal tools