We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b22116e commit cf83880Copy full SHA for cf83880
1 file changed
src/sound/html5/HTML5AudioSound.js
@@ -4,6 +4,15 @@ var HTML5AudioSound = new Class({
4
Extends: BaseSound,
5
initialize: function HTML5AudioSound(manager, key, config) {
6
if (config === void 0) { config = {}; }
7
+ /**
8
+ * An array containing all HTML5 Audio tags that could be used for individual
9
+ * sound's playback. Number of instances depends on the config value passed
10
+ * to the Loader#audio method call, default is 1.
11
+ *
12
+ * @private
13
+ * @property {HTMLAudioElement[]} tags
14
+ */
15
+ this.tags = manager.game.cache.audio.get(key);
16
/**
17
* Reference to HTML5 Audio tag used for playing sound.
18
*
0 commit comments