From 6e306544fe576c7946cca249c790dc46e3817f5f Mon Sep 17 00:00:00 2001 From: Pavle Goloskokovic Date: Sat, 6 Jan 2018 19:14:17 +0100 Subject: [PATCH] Added class constructor docs --- v3/src/sound/webaudio/WebAudioSoundManager.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/v3/src/sound/webaudio/WebAudioSoundManager.js b/v3/src/sound/webaudio/WebAudioSoundManager.js index f98203c9a..737b662a9 100644 --- a/v3/src/sound/webaudio/WebAudioSoundManager.js +++ b/v3/src/sound/webaudio/WebAudioSoundManager.js @@ -2,9 +2,18 @@ var Class = require('../../utils/Class'); var BaseSoundManager = require('../BaseSoundManager'); var WebAudioSound = require('./WebAudioSound'); var SoundValueEvent = require('../SoundValueEvent'); -// Phaser.Loader.WebAudioSoundManager +/*! + * @author Pavle Goloskokovic (http://prunegames.com) + */ var WebAudioSoundManager = new Class({ Extends: BaseSoundManager, + /** + * Web Audio API implementation of the sound manager. + * + * @class Phaser.Sound.WebAudioSoundManager + * @constructor + * @param {Phaser.Game} game - Reference to the current game instance. + */ initialize: function WebAudioSoundManager(game) { /** * The AudioContext being used for playback.