mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 05:03:37 +00:00
Defining volume property for HTML5AudioSoundManager class
This commit is contained in:
parent
1468febf74
commit
1521a8addc
1 changed files with 6 additions and 0 deletions
|
@ -45,4 +45,10 @@ Object.defineProperty(HTML5AudioSoundManager.prototype, 'mute', {
|
|||
});
|
||||
}
|
||||
});
|
||||
Object.defineProperty(HTML5AudioSoundManager.prototype, 'volume', {
|
||||
get: function () {
|
||||
},
|
||||
set: function (value) {
|
||||
}
|
||||
});
|
||||
module.exports = HTML5AudioSoundManager;
|
||||
|
|
Loading…
Reference in a new issue