Skip to content

Commit 311a18b

Browse files
Added pause method docs
1 parent 17a5cc6 commit 311a18b

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/sound/html5/HTML5AudioSound.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,12 @@ var HTML5AudioSound = new Class({
8484
this.emit('play', this);
8585
return true;
8686
},
87+
/**
88+
* Pauses the sound.
89+
*
90+
* @method Phaser.Sound.HTML5AudioSound#pause
91+
* @returns {boolean} Whether the sound was paused successfully.
92+
*/
8793
pause: function () {
8894
if (this.manager.isLocked(this, 'pause')) {
8995
return false;

0 commit comments

Comments
 (0)