Added BaseSound class description

This commit is contained in:
Pavle Goloskokovic 2018-02-18 15:50:32 +01:00
parent 28bf61f846
commit 99c5053acb

View file

@ -11,7 +11,7 @@ var NOOP = require('../utils/NOOP');
/** /**
* @classdesc * @classdesc
* [description] * Class containing all the shared state and behaviour of a sound object, independent of the implementation.
* *
* @class BaseSound * @class BaseSound
* @extends EventEmitter * @extends EventEmitter
@ -410,7 +410,7 @@ var BaseSound = new Class({
* *
* @method Phaser.Sound.BaseSound#pause * @method Phaser.Sound.BaseSound#pause
* @since 3.0.0 * @since 3.0.0
* *
* @return {boolean} Whether the sound was paused successfully. * @return {boolean} Whether the sound was paused successfully.
*/ */
pause: function () pause: function ()
@ -431,7 +431,7 @@ var BaseSound = new Class({
* *
* @method Phaser.Sound.BaseSound#resume * @method Phaser.Sound.BaseSound#resume
* @since 3.0.0 * @since 3.0.0
* *
* @return {boolean} Whether the sound was resumed successfully. * @return {boolean} Whether the sound was resumed successfully.
*/ */
resume: function () resume: function ()
@ -452,7 +452,7 @@ var BaseSound = new Class({
* *
* @method Phaser.Sound.BaseSound#stop * @method Phaser.Sound.BaseSound#stop
* @since 3.0.0 * @since 3.0.0
* *
* @return {boolean} Whether the sound was stopped successfully. * @return {boolean} Whether the sound was stopped successfully.
*/ */
stop: function () stop: function ()
@ -503,7 +503,7 @@ var BaseSound = new Class({
* @override * @override
* @protected * @protected
* @since 3.0.0 * @since 3.0.0
* *
* @param {number} time - The current timestamp as generated by the Request Animation Frame or SetTimeout. * @param {number} time - The current timestamp as generated by the Request Animation Frame or SetTimeout.
* @param {number} delta - The delta time elapsed since the last frame. * @param {number} delta - The delta time elapsed since the last frame.
*/ */