Difference between revisions of "ParticleSystem:isEmpty"

(Added oldin)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
+
{{oldin|[[0.9.0]]|090|type=function|text=Use [[ParticleSystem:getCount]] and [[ParticleSystem:getBufferSize]]}}
 
Checks whether the particle system is empty of particles.
 
Checks whether the particle system is empty of particles.
 
== Function ==
 
== Function ==
Line 14: Line 14:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Checks whether the particle system is empty of particles.}}
 
{{#set:Description=Checks whether the particle system is empty of particles.}}
 +
{{#set:Since=000}}
 +
== Other Languages ==
 +
{{i18n|ParticleSystem:isEmpty}}

Latest revision as of 08:43, 8 October 2013

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


Other Languages