Added resume method docs

This commit is contained in:
Pavle Goloskokovic 2018-01-06 15:53:03 +01:00
parent d8a7b5d402
commit 2effb504be

View file

@ -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;