lol
This commit is contained in:
parent
59a14f49db
commit
9324df29c7
1 changed files with 4 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue