mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 15:12:18 +00:00
Added resume method docs
This commit is contained in:
parent
d8a7b5d402
commit
2effb504be
1 changed files with 6 additions and 0 deletions
|
@ -294,6 +294,12 @@ var BaseSound = new Class({
|
|||
this.isPaused = true;
|
||||
return true;
|
||||
},
|
||||
/**
|
||||
* Resumes the sound.
|
||||
*
|
||||
* @method Phaser.Sound.BaseSound#resume
|
||||
* @returns {boolean} Whether the sound was resumed successfully.
|
||||
*/
|
||||
resume: function () {
|
||||
if (!this.isPaused || this.isPlaying) {
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue