This commit is contained in:
Ziver Koc 2007-04-18 10:51:54 +00:00
parent 59a14f49db
commit 9324df29c7

View file

@ -253,6 +253,10 @@ public class Particles extends Entity{
return enabled;
}
/**
* Returns true if all the particles are disabled
* @return True if all the particles are disabled
*/
public boolean isDead(){
for(int i=0;i<maxParticles;i++) {
if(particle[i].active)