Add frame/s into the animation.
name | type | description |
---|---|---|
index | number |
The index to insert the frame at within the animation. |
config | string | Array.<Phaser.Types.Animations.AnimationFrame> |
Either a string, in which case it will use all frames from a texture with the matching key, or an array of Animation Frame configuration objects. |
This Animation object.