MCPcopy Create free account
hub / github.com/SpringRoll/SpringRoll / reset

Method reset

src/localization/captions/Caption.js:43–47  ·  view source on GitHub ↗

* Resets time, lineIndex and content fields. * @private * @memberof Caption

()

Source from the content-addressed store, hash-verified

41 * @memberof Caption
42 */
43 reset() {
44 this.time = 0;
45 this.lineIndex = 0;
46 this.renderer = null;
47 }
48
49 /**
50 * Updates content based on time passed.

Callers 2

constructorMethod · 0.95
startMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected