Updated jsdocs. Fix #4200

This commit is contained in:
Richard Davey 2019-10-02 13:21:51 +01:00
parent 9c5e327604
commit 7063085120

View file

@ -12,6 +12,15 @@ var HTML5AudioSound = require('./HTML5AudioSound');
/**
* HTML5 Audio implementation of the Sound Manager.
*
* Note: To play multiple instances of the same HTML5 Audio sound, you need to provide an `instances` value when
* loading the sound with the Loader:
*
* ```javascript
* this.load.audio('explosion', 'explosion.mp3', {
* instances: 2
* });
* ```
*
* @class HTML5AudioSoundManager
* @extends Phaser.Sound.BaseSoundManager