Added class constructor docs

This commit is contained in:
Pavle Goloskokovic 2018-01-06 19:14:17 +01:00
parent 6d42d97bcc
commit 6e306544fe

View file

@ -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 <pgoloskokovic@gmail.com> (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.