()
| 272 | } |
| 273 | |
| 274 | stop(): this { |
| 275 | if (!this._isChainStopped) { |
| 276 | this._isChainStopped = true |
| 277 | this.stopChainedTweens() |
| 278 | } |
| 279 | |
| 280 | if (!this._isPlaying) { |
| 281 | return this |
| 282 | } |
| 283 | |
| 284 | this._isPlaying = false |
| 285 | |
| 286 | this._isPaused = false |
| 287 | |
| 288 | if (this._onStopCallback) { |
| 289 | this._onStopCallback(this._object) |
| 290 | } |
| 291 | |
| 292 | return this |
| 293 | } |
| 294 | |
| 295 | end(): this { |
| 296 | this._goToEnd = true |
no test coverage detected