love / 11.3 / particlesystem-isempty.html /

ParticleSystem:isEmpty

Removed in LÖVE 0.9.0
Use ParticleSystem:getCount and ParticleSystem:getBufferSize.

Checks whether the particle system is empty of particles.

Function

Synopsis

empty = ParticleSystem:isEmpty( )

Arguments

None.

Returns

boolean empty
True if there are no live particles, false otherwise.

See Also


© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/ParticleSystem:isEmpty