Sprite_Base ⇐ Sprite
Sprite_Base
Kind: global class
Extends: Sprite
- Sprite_Base ⇐
Sprite
- new Sprite_Base()
- .initialize()
- .update()
- .hide()
- .show()
- .updateVisibility()
- .updateAnimationSprites()
- .startAnimation(animation, mirror, delay)
- .isAnimationPlaying() ⇒
Boolean
new Sprite_Base()
精灵基类
Sprite base class
Sprite_Base.initialize()
初始化精灵基类
Initialize sprite base
Kind: static method of Sprite_Base
Sprite_Base.update()
更新精灵
Update sprite
Kind: static method of Sprite_Base
Sprite_Base.hide()
隐藏精灵
Hide sprite
Kind: static method of Sprite_Base
Sprite_Base.show()
显示精灵
Show sprite
Kind: static method of Sprite_Base
Sprite_Base.updateVisibility()
更新可见性
Update visibility
Kind: static method of Sprite_Base
Sprite_Base.updateAnimationSprites()
更新动画精灵
Update animation sprites
Kind: static method of Sprite_Base
Sprite_Base.startAnimation(animation, mirror, delay)
开始动画
Start animation
Kind: static method of Sprite_Base
Param | Type | Description |
---|---|---|
animation | Object | 动画数据 - Animation data |
mirror | Boolean | 是否镜像 - Whether to mirror |
delay | Number | 延迟时间 - Delay time |
Sprite_Base.isAnimationPlaying() ⇒ Boolean
检查是否正在播放动画
Check if animation is playing
Kind: static method of Sprite_Base
Returns: Boolean
- 是否正在播放动画 - Whether animation is playing
贡献者
暂无相关贡献者
页面历史
暂无最近变更历史