Skip to content

Commit ea95ae8

Browse files
Added HTML5AudioSoundManager class constructor docs
1 parent a0e462d commit ea95ae8

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

src/sound/html5/HTML5AudioSoundManager.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
11
var Class = require('../../utils/Class');
22
var BaseSoundManager = require('../BaseSoundManager');
33
var HTML5AudioSound = require('./HTML5AudioSound');
4+
/*!
5+
* @author Pavle Goloskokovic <pgoloskokovic@gmail.com> (http://prunegames.com)
6+
*/
47
var HTML5AudioSoundManager = new Class({
58
Extends: BaseSoundManager,
9+
/**
10+
* HTML5 Audio implementation of the sound manager.
11+
*
12+
* @class Phaser.Sound.HTML5AudioSoundManager
13+
* @constructor
14+
* @param {Phaser.Game} game - Reference to the current game instance.
15+
*/
616
initialize: function HTML5AudioSoundManager(game) {
717
/**
818
* Flag indicating whether if there are no idle instances of HTML5 Audio tag,

0 commit comments

Comments
 (0)