Class: AnimationSprite

phina.display.AnimationSprite

new phina.display.AnimationSprite (image, ss)

Name Type Description
image string | phina.asset.Texture | phina.graphics.Canvas
ss string optional the key of the loaded spritesheet data

Extends

  • phina.display.Sprite

Methods

setAnimation (animationType)this

アニメーションを設定&再生
Set and play specifed animation
Name Type Description
animationType string 定義したアニメーションラベルを指定
Returns:
Type Description
this