mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 21:53:59 +00:00
Description for BaseSoundManager#playAudioSprite
This commit is contained in:
parent
c3dae63c20
commit
cae9d2ec07
1 changed files with 3 additions and 2 deletions
|
@ -265,8 +265,9 @@ var BaseSoundManager = new Class({
|
|||
},
|
||||
|
||||
/**
|
||||
* Enables playing audio sprite sound on the fly without the need to keep a reference to it.
|
||||
* Sound will auto destroy once its playback ends.
|
||||
* Adds a new audio sprite sound to the sound manager and plays it.
|
||||
* The sprite will be automatically removed (destroyed) once playback ends.
|
||||
* This lets you play a new sound on the fly without the need to keep a reference to it.
|
||||
*
|
||||
* @method Phaser.Sound.BaseSoundManager#playAudioSprite
|
||||
* @listens Phaser.Sound.Events#COMPLETE
|
||||
|
|
Loading…
Reference in a new issue