Component.Animation

Class: Phaser.Component.Animation

Constructor

new Animation()

The Animation Component provides a play method, which is a proxy to the AnimationManager.play method.

Source code: gameobjects/components/Animation.js (Line 12)

Public Methods

play(name, frameRate, loop, 登录查看完整内容