MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / reset

Method reset

modules/drivers/neostrand/neostrand.js:54–60  ·  view source on GitHub ↗
(effect)

Source from the content-addressed store, hash-verified

52 }
53
54 reset(effect) {
55 effect.duration = effect.timeline.duration;
56 effect.time = 0;
57 effect.startTicks = Time.ticks;
58 if (this.loop)
59 effect.loopPrepare(effect);
60 }
61
62 loopPrepare(effect) { }
63

Callers 15

scratchpadMethod · 0.45
_searchFunction · 0.45
owb_read_romFunction · 0.45
owb_resetFunction · 0.45
activateMethod · 0.45
activateMethod · 0.45
activateMethod · 0.45
activateMethod · 0.45
activateMethod · 0.45
activateMethod · 0.45
activateMethod · 0.45
beginMethod · 0.45

Calls 1

loopPrepareMethod · 0.45

Tested by

no test coverage detected