mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 15:12:18 +00:00
Added class constructor docs
This commit is contained in:
parent
6d42d97bcc
commit
6e306544fe
1 changed files with 10 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue