Sound
Class: Phaser.Sound
Constructor
new Sound(game, key, volume, loop)
The Sound class constructor.
Parameters
Name | Type | Argument | Default | Description |
---|---|---|---|---|
game | Phaser.Game | Reference to the current game instance. | ||
key | string | Asset key for the sound.登录查看完整内容 |