Difference between revisions of "ParticleSystem:isEmpty"

m (1 revision: Imported docs from potato.)
(Added oldin)
 
(4 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.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 13: Line 13:
 
* [[parent::ParticleSystem]]
 
* [[parent::ParticleSystem]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#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