Method used internally by Phaser.Sound.HTML5AudioSound class methods and property setters to check if sound manager is locked and then either perform action immediately or queue it to be performed once the sound manager gets unlocked.
name | type | arguments | description |
---|---|---|---|
sound | Phaser.Sound.HTML5AudioSound |
Sound object on which to perform queued action. |
|
prop | string |
Name of the method to be called or property to be assigned a value to. |
|
value | * | <optional> |
An optional parameter that either holds an array of arguments to be passed to the method call or value to be set to the property. |
Whether the sound manager is locked.