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
* @param {string} markerName - The name of the marker to remove.
232
-
* @returns {ISoundMarker|null} Removed marker object or 'null' if there was no marker with provided name.
232
+
* @returns {ISoundMarker | null} Removed marker object or 'null' if there was no marker with provided name.
233
233
*/
234
234
removeMarker: function(markerName){
235
235
varmarker=this.markers[markerName];
@@ -248,7 +248,7 @@ var BaseSound = new Class({
248
248
* @method Phaser.Sound.BaseSound#play
249
249
* @param {string} [markerName=''] - If you want to play a marker then provide the marker name here, otherwise omit it to play the full sound.
250
250
* @param {ISoundConfig} [config] - Optional sound config object to be applied to this marker or entire sound if no marker name is provided. It gets memorized for future plays of current section of the sound.
251
-
* @returns {ISound} This sound instance.
251
+
* @returns {ISound | null} This sound instance or 'null' if an error occurred.
0 commit comments