Skip to content

Commit bacce96

Browse files
Updated addAudioSprite method docs
1 parent 8f3a7e8 commit bacce96

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

v3/src/sound/BaseSoundManager.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,12 @@ var BaseSoundManager = new Class({
109109
*/
110110
add: NOOP,
111111
/**
112-
* [description]
112+
* Adds a new audio sprite sound into the sound manager.
113113
*
114-
* @param {string} key
115-
* @param {ISoundConfig} config
116-
* @returns {IAudioSpriteSound}
114+
* @method Phaser.Sound.BaseSoundManager#addAudioSprite
115+
* @param {string} key - Asset key for the sound.
116+
* @param {ISoundConfig} [config] - An optional config object containing default sound settings.
117+
* @returns {IAudioSpriteSound} The new audio sprite sound instance.
117118
*/
118119
addAudioSprite: function (key, config) {
119120
var sound = this.add(key, config);

0 commit comments

Comments
 (0)