AnimationManager#AnimationManager

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)
doc_phaser
2017-02-14 10:36:01
Comments
Leave a Comment

Please login to continue.