You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/sound/BaseSoundManager.js
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -167,6 +167,7 @@ var BaseSoundManager = new Class({
167
167
* @method Phaser.Sound.BaseSoundManager#play
168
168
* @param {string} key - Asset key for the sound.
169
169
* @param {ISoundConfig | ISoundMarker} [extra] - An optional additional object containing settings to be applied to the sound. It could be either config or marker object.
170
+
* @returns {boolean} Whether the sound started playing successfully.
170
171
*/
171
172
play: function(key,extra){
172
173
varsound=this.add(key);
@@ -175,14 +176,14 @@ var BaseSoundManager = new Class({
0 commit comments