mirror of
https://github.com/wassname/phaser.git
synced 2026-08-08 11:23:41 +08:00
Tidying up the repo, moving old wip stuff out, clearing up the docs.
This commit is contained in:
@@ -843,12 +843,9 @@ Phaser.SoundManager.prototype = {
|
||||
* @param {string} key - Asset key for the sound.
|
||||
* @param {number} [volume=1] - Default value for the volume.
|
||||
* @param {boolean} [loop=false] - Whether or not the sound will loop.
|
||||
* @param {boolean} [destroyOnComplete=false] - If true the Sound will destroy itself once it has finished playing, or is stopped.
|
||||
* @return {Phaser.Sound} The new sound instance.
|
||||
*/
|
||||
play: function (key, volume, loop, destroyOnComplete) {
|
||||
|
||||
if (typeof destroyOnComplete == 'undefined') { destroyOnComplete = false; }
|
||||
play: function (key, volume, loop) {
|
||||
|
||||
var sound = this.add(key, volume, loop);
|
||||
|
||||
@@ -992,7 +989,7 @@ Object.defineProperty(Phaser.SoundManager.prototype, "volume", {
|
||||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Fri Feb 21 2014 15:36:22 GMT-0000 (GMT) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Mon Feb 24 2014 12:11:34 GMT-0000 (GMT) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user