We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 418f957 commit c89cfcdCopy full SHA for c89cfcd
1 file changed
v3/src/sound/BaseSound.js
@@ -224,6 +224,13 @@ var BaseSound = new Class({
224
this.markers[marker.name] = Extend(true, this.markers[marker.name], marker);
225
return true;
226
},
227
+ /**
228
+ * Removes a marker from the sound.
229
+ *
230
+ * @method Phaser.Sound.BaseSound#removeMarker
231
+ * @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.
233
+ */
234
removeMarker: function (markerName) {
235
var marker = this.markers[markerName];
236
if (!marker) {
0 commit comments