Render all particles for this emitter
()
| 289 | |
| 290 | /** Render all particles for this emitter */ |
| 291 | render() |
| 292 | { |
| 293 | // render all particles |
| 294 | for (const particle of this.particles) |
| 295 | particle.render(); |
| 296 | } |
| 297 | |
| 298 | /** is emitter actively spawning */ |
| 299 | isActive() { return !this.emitTime || this.getAliveTime() < this.emitTime; } |