We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 974a9c0 commit 418f957Copy full SHA for 418f957
1 file changed
v3/src/sound/BaseSound.js
@@ -201,6 +201,13 @@ var BaseSound = new Class({
201
this.markers[marker.name] = marker;
202
return true;
203
},
204
+ /**
205
+ * Updates previously added marker.
206
+ *
207
+ * @method Phaser.Sound.BaseSound#updateMarker
208
+ * @param {ISoundMarker} marker - Marker object with updated values.
209
+ * @returns {boolean} Whether the marker was updated successfully.
210
+ */
211
updateMarker: function (marker) {
212
if (!marker) {
213
console.error('updateMarker - Marker object has to be provided!');
0 commit comments