(map)
| 17230 | } |
| 17231 | // Does not recurse. |
| 17232 | remap(map) { |
| 17233 | this.forEach(particle => { |
| 17234 | const cue = particle.cue |
| 17235 | if (map[cue] !== undefined) particle.setCue(map[cue]) |
| 17236 | }) |
| 17237 | return this |
| 17238 | } |
| 17239 | rename(oldCue, newCue) { |
| 17240 | this._rename(oldCue, newCue) |
| 17241 | return this |