From 39a5c2907ff4937538fbfd382ddd1f64b5694fcf Mon Sep 17 00:00:00 2001 From: Pavle Goloskokovic Date: Sat, 6 Jan 2018 17:49:17 +0100 Subject: [PATCH] Updated remove method docs --- v3/src/sound/BaseSoundManager.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/v3/src/sound/BaseSoundManager.js b/v3/src/sound/BaseSoundManager.js index 149668ad9..b8128bbeb 100644 --- a/v3/src/sound/BaseSoundManager.js +++ b/v3/src/sound/BaseSoundManager.js @@ -177,9 +177,11 @@ var BaseSoundManager = new Class({ sound.play(spriteName, config); }, /** + * Removes a sound from the sound manager. + * The removed sound is destroyed before removal. * - * - * @param {ISound} sound + * @method Phaser.Sound.BaseSoundManager#remove + * @param {ISound} sound - The sound object to remove. * @returns {boolean} True if the sound was removed successfully, otherwise false. */ remove: function (sound) {