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

Function drainParticles

packages/melonjs/tests/emitter.spec.js:109–111  ·  view source on GitHub ↗
(em)

Source from the content-addressed store, hash-verified

107 // the completion *logic* directly here; particle lifetime decay is
108 // covered by the existing burst/stream tests above.
109 function drainParticles(em) {
110 em.getChildren().length = 0;
111 }
112
113 // Container.removeChild() defers via setTimeout(0); flush it.
114 function flushDefer() {

Callers 1

emitter.spec.jsFile · 0.85

Calls 1

getChildrenMethod · 0.80

Tested by

no test coverage detected