(fn)
| 16174 | return this.map(particle => particle.get(path)) |
| 16175 | } |
| 16176 | getFiltered(fn) { |
| 16177 | const clone = this.clone() |
| 16178 | clone |
| 16179 | .filter((particle, index) => !fn(particle, index)) |
| 16180 | .forEach(particle => { |
| 16181 | particle.destroy() |
| 16182 | }) |
| 16183 | return clone |
| 16184 | } |
| 16185 | getParticle(cuePath) { |
| 16186 | return this._getParticleByPath(cuePath) |
| 16187 | } |