Sprite_Balloon()
精灵_气泡
显示气泡图标的精灵。
Sprite_Balloon
The sprite for displaying a balloon icon.
Kind: global function
- Sprite_Balloon()
- .initialize()
- .initMembers()
- .loadBitmap()
- .setup(balloonId)
- .update()
- .updateFrame()
- .speed() ⇒
number - .waitTime() ⇒
number - .frameIndex() ⇒
number - .isPlaying() ⇒
boolean
sprite_Balloon.initialize()
初始化
Initialize
Kind: instance method of Sprite_Balloon
sprite_Balloon.initMembers()
初始化成员
Initialize members
Kind: instance method of Sprite_Balloon
sprite_Balloon.loadBitmap()
加载位图
Load bitmap
Kind: instance method of Sprite_Balloon
sprite_Balloon.setup(balloonId)
设置
Kind: instance method of Sprite_Balloon
| Param | Type | Description |
|---|---|---|
| balloonId | number | 气泡 ID - Balloon ID Setup |
sprite_Balloon.update()
更新
Update
Kind: instance method of Sprite_Balloon
sprite_Balloon.updateFrame()
更新帧
Update frame
Kind: instance method of Sprite_Balloon
sprite_Balloon.speed() ⇒ number
速度
Kind: instance method of Sprite_Balloon
Returns: number - 速度 - Speed
Speed
sprite_Balloon.waitTime() ⇒ number
等待时间
Kind: instance method of Sprite_Balloon
Returns: number - 等待时间 - Wait time
Wait time
sprite_Balloon.frameIndex() ⇒ number
帧索引
Kind: instance method of Sprite_Balloon
Returns: number - 帧索引 - Frame index
Frame index
sprite_Balloon.isPlaying() ⇒ boolean
是否播放中
Kind: instance method of Sprite_Balloon
Returns: boolean - 是否正在播放 - Whether is playing
Is playing