MCPcopy
hub / github.com/4ian/GDevelop / step

Function step

Extensions/TweenBehavior/TweenManager.ts:627–636  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

625 }
626
627 step(): void {
628 if (!this.isPlaying()) {
629 return;
630 }
631 this.elapsedTime = Math.min(
632 this.elapsedTime + this.timeSource.getElapsedTime() / 1000,
633 this.totalDuration
634 );
635 this._updateValue();
636 }
637
638 protected abstract _updateValue(): void;
639 abstract getValue(): float;

Callers

nothing calls this directly

Calls 4

isPlayingMethod · 0.65
getElapsedTimeMethod · 0.65
minMethod · 0.45
_updateValueMethod · 0.45

Tested by

no test coverage detected