MCPcopy Create free account
hub / github.com/breck7/scroll / constructor

Method constructor

external/.scrollLibs.js:15141–15144  ·  view source on GitHub ↗
(particle, atomIndex)

Source from the content-addressed store, hash-verified

15139class LineChangedParticleEvent extends AbstractParticleEvent {}
15140class ParticleAtom {
15141 constructor(particle, atomIndex) {
15142 this._particle = particle
15143 this._atomIndex = atomIndex
15144 }
15145 replace(newAtom) {
15146 this._particle.setAtom(this._atomIndex, newAtom)
15147 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected