* Resume a tween. * @param identifier Unique id to identify the tween
(identifier: string)
| 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. |
no test coverage detected