Added unlocked property to BaseSoundManager class for internal use

This commit is contained in:
Pavle Goloskokovic 2018-01-17 18:10:40 +01:00
parent 9ed999fada
commit fbb1388f2d

View file

@ -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();
}