Skip to content

Commit 9d577a4

Browse files
Added update method docs
1 parent 712e95b commit 9d577a4

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

v3/src/sound/BaseSound.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,13 @@ var BaseSound = new Class({
341341
this.currentConfig.delay = 0;
342342
},
343343
/**
344+
* Update method called automatically by sound manager on every game step.
345+
*
346+
* @override
344347
* @protected
348+
* @method Phaser.Sound.BaseSound#update
349+
* @param {number} time - The current timestamp as generated by the Request Animation Frame or SetTimeout.
350+
* @param {number} delta - The delta time elapsed since the last frame.
345351
*/
346352
update: NOOP,
347353
/**

0 commit comments

Comments
 (0)