We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17a5cc6 commit 311a18bCopy full SHA for 311a18b
1 file changed
src/sound/html5/HTML5AudioSound.js
@@ -84,6 +84,12 @@ var HTML5AudioSound = new Class({
84
this.emit('play', this);
85
return true;
86
},
87
+ /**
88
+ * Pauses the sound.
89
+ *
90
+ * @method Phaser.Sound.HTML5AudioSound#pause
91
+ * @returns {boolean} Whether the sound was paused successfully.
92
+ */
93
pause: function () {
94
if (this.manager.isLocked(this, 'pause')) {
95
return false;
0 commit comments