* Get the index of the animation being played. * @return The index of the new animation being played * @deprecated Use `getAnimationIndex` instead
()
| 350 | * @deprecated Use `getAnimationIndex` instead |
| 351 | */ |
| 352 | getAnimation(): integer { |
| 353 | return this.getAnimationIndex(); |
| 354 | } |
| 355 | |
| 356 | getAnimationIndex(): integer { |
| 357 | return this._animator.getAnimationIndex(); |