(line)
| 17415 | return this.filter(particle => particle.getLine() === line) |
| 17416 | } |
| 17417 | toggleLine(line) { |
| 17418 | const lines = this.getParticlesByLine(line) |
| 17419 | if (lines.length) { |
| 17420 | lines.map(line => line.destroy()) |
| 17421 | return this |
| 17422 | } |
| 17423 | return this.appendLine(line) |
| 17424 | } |
| 17425 | // todo: remove? |
| 17426 | sortByColumns(indexOrIndices) { |
| 17427 | const indices = indexOrIndices instanceof Array ? indexOrIndices : [indexOrIndices] |
nothing calls this directly
no test coverage detected