Removed touchLockedActionQueue from HTML5AudioSound class

This commit is contained in:
Pavle Goloskokovic 2018-01-17 19:11:28 +01:00
parent 913f388535
commit da56f97580

View file

@ -44,21 +44,6 @@ var HTML5AudioSound = new Class({
* @default 0
*/
this.previousTime = 0;
/**
* A queue of all actions performed on a sound object while audio was locked.
* Once the audio gets unlocked, after an explicit user interaction,
* all actions will be performed in chronological order.
*
* @private
* @property {{
* sound: Phaser.Sound.HTML5AudioSound,
* type: string,
* name: string,
* value?: any,
* time: number,
* }[]} touchLockedActionQueue
*/
this.touchLockedActionQueue = manager.touchLocked ? [] : null;
this.duration = this.tags[0].duration;
this.totalDuration = this.tags[0].duration;
BaseSound.call(this, manager, key, config);