MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / constructor

Method constructor

web/observatory/js/demo-data.js:122–130  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

120
121export class DemoDataGenerator {
122 constructor() {
123 this._scenarioIndex = 0;
124 this._elapsed = 0;
125 this._paused = false;
126 this._prevFrame = null;
127 this._currFrame = null;
128 this._cycleDuration = 30;
129 this._autoMode = true;
130 }
131
132 get currentScenario() {
133 return SCENARIOS[this._scenarioIndex];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected