Skip to content

Commit

Permalink
Clarify jsdocs. Fix #6043
Browse files Browse the repository at this point in the history
  • Loading branch information
photonstorm committed Nov 22, 2022
1 parent 5d2a829 commit ee2b5f5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/sound/BaseSound.js
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,9 @@ var BaseSound = new Class({
},

/**
* Pauses the sound.
* Pauses the sound. This only works if the sound is currently playing.
*
* You can inspect the `isPlaying` and `isPaused` properties to check the state.
*
* @method Phaser.Sound.BaseSound#pause
* @since 3.0.0
Expand All @@ -362,7 +364,9 @@ var BaseSound = new Class({
},

/**
* Resumes the sound.
* Resumes the sound. This only works if the sound is paused and not already playing.
*
* You can inspect the `isPlaying` and `isPaused` properties to check the state.
*
* @method Phaser.Sound.BaseSound#resume
* @since 3.0.0
Expand Down

0 comments on commit ee2b5f5

Please sign in to comment.