AnimationManager#getAnimation()

getAnimation(name) → {Phaser.Animation}

Returns an animation that was previously added by name.

Parameters
Name Type Description
name string

The name of the animation to be returned, e.g. "fire".

Returns

The Animation instance, if found, otherwise null.

Source code: animation/AnimationManager.js (Line 371)
doc_phaser
2017-02-14 10:36:04
Comments
Leave a Comment

Please login to continue.