new AnimationManager(sprite)
The Animation Manager is used to add, play and update Phaser Animations.
Any Game Object such as Phaser.Sprite that supports animation contains a single AnimationManager instance.
Parameters
Name | Type | Description |
---|---|---|
sprite | Phaser.Sprite | A reference to the Game Object that owns this AnimationManager. |
- Source code: animation/AnimationManager.js (Line 15)
Please login to continue.