Adds an existing Animation to the Animation Manager.
name | type | description |
---|---|---|
key | string |
The key under which the Animation should be added. The Animation will be updated with it. Must be unique. |
animation | Phaser.Animations.Animation |
The Animation which should be added to the Animation Manager. |
This Animation Manager.