mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 23:20:59 +00:00
Defined loop property for WebAudioSound class
This commit is contained in:
parent
121672d442
commit
02962f316e
1 changed files with 12 additions and 0 deletions
|
@ -291,4 +291,16 @@ Object.defineProperty(WebAudioSound.prototype, 'seek', {
|
|||
}
|
||||
}
|
||||
});
|
||||
/**
|
||||
* Property indicating whether or not
|
||||
* the sound or current sound marker will loop.
|
||||
*
|
||||
* @property {boolean} loop
|
||||
*/
|
||||
Object.defineProperty(WebAudioSound.prototype, 'loop', {
|
||||
get: function () {
|
||||
},
|
||||
set: function (value) {
|
||||
}
|
||||
});
|
||||
module.exports = WebAudioSound;
|
||||
|
|
Loading…
Reference in a new issue