Skip to content

Commit d8a7b5d

Browse files
Added pause method docs
1 parent c37acdf commit d8a7b5d

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

v3/src/sound/BaseSound.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,12 @@ var BaseSound = new Class({
280280
this.isPaused = false;
281281
return this;
282282
},
283+
/**
284+
* Pauses the sound.
285+
*
286+
* @method Phaser.Sound.BaseSound#pause
287+
* @returns {boolean} Whether the sound was paused successfully.
288+
*/
283289
pause: function () {
284290
if (this.isPaused || !this.isPlaying) {
285291
return false;

0 commit comments

Comments
 (0)