* @function LevelRenderer.Animation.Animator.prototype.done * @description 添加动画结束的回调 * @param {function} cb - Function * @returns {LevelRenderer.Animation.Animator} Animator
(cb)
| 670 | * @returns {LevelRenderer.Animation.Animator} Animator |
| 671 | */ |
| 672 | done(cb) { |
| 673 | if (cb) { |
| 674 | this._doneList.push(cb); |
| 675 | } |
| 676 | return this; |
| 677 | } |
| 678 | |
| 679 | } |
| 680 |
no test coverage detected