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

Method resumeTween

Extensions/TweenBehavior/TweenManager.ts:358–365  ·  view source on GitHub ↗

* Resume a tween. * @param identifier Unique id to identify the tween

(identifier: string)

Source from the content-addressed store, hash-verified

356 * @param identifier Unique id to identify the tween
357 */
358 resumeTween(identifier: string) {
359 const tween = this._tweens.get(identifier);
360 if (!tween || tween.isPlaying() || tween.hasFinished()) {
361 return;
362 }
363 this._addActiveTween(tween);
364 tween.resume();
365 }
366
367 /**
368 * Stop a tween.

Callers 2

resumeSceneTweenFunction · 0.45

Calls 5

_addActiveTweenMethod · 0.95
getMethod · 0.65
isPlayingMethod · 0.65
hasFinishedMethod · 0.65
resumeMethod · 0.65

Tested by

no test coverage detected