* return true if the specified animation is the current one. * @param {string} name - animation id * @returns {boolean} * @example * if (!this.isCurrentAnimation("walk")) { * // do something funny... * }
(name)
| 586 | * } |
| 587 | */ |
| 588 | isCurrentAnimation(name) { |
| 589 | return this._frameAnim.isCurrentAnimation(name); |
| 590 | } |
| 591 | |
| 592 | /** |
| 593 | * the names of every animation defined on this sprite (via |
no outgoing calls
no test coverage detected