We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fc3aaa commit e75871aCopy full SHA for e75871a
1 file changed
src/sound/html5/HTML5AudioSoundManager.js
@@ -4,6 +4,15 @@ var HTML5AudioSound = require('./HTML5AudioSound');
4
var HTML5AudioSoundManager = new Class({
5
Extends: BaseSoundManager,
6
initialize: function HTML5AudioSoundManager(game) {
7
+ /**
8
+ * Flag indicating whether for particular sound if there are no idle instances
9
+ * of HTML5 Audio tag one of them should be stopped and used for succeeding playback
10
+ * or if succeeding Phaser.Sound.HTML5AudioSound#play call should be ignored.
11
+ *
12
+ * @property {boolean} override
13
+ * @default true
14
+ */
15
+ this.override = true;
16
/**
17
* An array for keeping track of all the sounds
18
* that were paused when game lost focus.
0 commit comments