mirror of
https://github.com/photonstorm/phaser
synced 2025-02-16 22:18:29 +00:00
Docs for Phaser.Sound.BaseSoundManager#play
Always adds a new sound
This commit is contained in:
parent
b28f45b609
commit
974ffd93ee
1 changed files with 3 additions and 2 deletions
|
@ -227,8 +227,9 @@ var BaseSoundManager = new Class({
|
|||
},
|
||||
|
||||
/**
|
||||
* Enables playing sound on the fly without the need to keep a reference to it.
|
||||
* Sound will auto destroy once its playback ends.
|
||||
* Adds a new sound to the sound manager and plays it.
|
||||
* The sound 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#play
|
||||
* @listens Phaser.Sound.Events#COMPLETE
|
||||
|
|
Loading…
Add table
Reference in a new issue