MCPcopy Create free account
hub / github.com/melonjs/melonJS / stopStream

Method stopStream

packages/melonjs/src/particles/emitter.ts:258–260  ·  view source on GitHub ↗

* Stop the emitter from generating new particles (used only if emitter is Stream)

()

Source from the content-addressed store, hash-verified

256 * Stop the emitter from generating new particles (used only if emitter is Stream)
257 */
258 stopStream(): void {
259 this._enabled = false;
260 }
261
262 /**
263 * Launch all particles from emitter and stop (e.g. for explosion)

Callers 2

updateMethod · 0.95
emitter.spec.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected