* the names of every animation defined on this sprite (via * Sprite#addAnimation). * @returns {string[]} the defined animation names * @example * sprite.addAnimation("walk", [0, 1, 2, 3]); * sprite.addAnimation("idle", [4, 5]); * sprite.getAnimationNames(); // ["walk", "idle"]
()
| 599 | * sprite.getAnimationNames(); // ["walk", "idle"] |
| 600 | */ |
| 601 | getAnimationNames() { |
| 602 | return this._frameAnim.getAnimationNames(); |
| 603 | } |
| 604 | |
| 605 | /** |
| 606 | * change the current texture atlas region for this sprite |
no outgoing calls
no test coverage detected