We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07bbe80 commit 0b84831Copy full SHA for 0b84831
1 file changed
src/sound/html5/HTML5AudioSound.js
@@ -1,7 +1,19 @@
1
var Class = require('../../utils/Class');
2
var BaseSound = require('../BaseSound');
3
+/*!
4
+ * @author Pavle Goloskokovic <pgoloskokovic@gmail.com> (http://prunegames.com)
5
+ */
6
var HTML5AudioSound = new Class({
7
Extends: BaseSound,
8
+ /**
9
+ * HTML5 Audio implementation of the sound.
10
+ *
11
+ * @class Phaser.Sound.HTML5AudioSound
12
+ * @constructor
13
+ * @param {Phaser.Sound.HTML5AudioSoundManager} manager - Reference to the current sound manager instance.
14
+ * @param {string} key - Asset key for the sound.
15
+ * @param {ISoundConfig} [config={}] - An optional config object containing default sound settings.
16
17
initialize: function HTML5AudioSound(manager, key, config) {
18
if (config === void 0) { config = {}; }
19
/**
0 commit comments