void update(double dt) {
		
		if (this.autoOff) {
			this.activationTime -= dt;
			if (this.activationTime <= 0) {
				setActive(false);
				this.autoOff = false;
			}
		}
		
		if (this.active) {
			emit(dt);
		}

		for (Particle particle : this.particles) {
			if (!particle.isDead()) {
				particle.update(dt);
			}
		}		
	}