mirror of
https://github.com/photonstorm/phaser
synced 2024-12-17 16:43:30 +00:00
Added unlocked property to BaseSoundManager class for internal use
This commit is contained in:
parent
9ed999fada
commit
fbb1388f2d
1 changed files with 9 additions and 0 deletions
|
@ -108,6 +108,15 @@ var BaseSoundManager = new Class({
|
|||
* @default false
|
||||
*/
|
||||
this.locked = false;
|
||||
/**
|
||||
* Flag used internally for handling when the audio system
|
||||
* has been unlocked, if there ever was a need for it.
|
||||
*
|
||||
* @private
|
||||
* @property {boolean} unlocked
|
||||
* @default false
|
||||
*/
|
||||
this.unlocked = false;
|
||||
if (this.locked) {
|
||||
this.unlock();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue