mirror of
https://github.com/photonstorm/phaser
synced 2024-11-10 15:14:47 +00:00
Updated jsdocs. Fix #4200
This commit is contained in:
parent
9c5e327604
commit
7063085120
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue