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

Method _updateValue

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

Source from the content-addressed store, hash-verified

713 }
714
715 protected _updateValue() {
716 const easedProgress = this.easing(this.getProgress());
717 const value = this.interpolate(
718 this.initialValue,
719 this.targetedValue,
720 easedProgress
721 );
722 this.currentValue = value;
723 this.setValue(value);
724 if (this.hasFinished()) {
725 this.onFinish();
726 }
727 }
728
729 getValue(): float {
730 return this.currentValue;

Callers

nothing calls this directly

Calls 4

onFinishMethod · 0.80
getProgressMethod · 0.65
hasFinishedMethod · 0.65
setValueMethod · 0.45

Tested by

no test coverage detected