Skip to content

Commit b7c74a0

Browse files
authored
Merge pull request phaserjs#3970 from samme/docs/addLight
Correct LightsManager#addLight docs
2 parents bed2706 + 408b2df commit b7c74a0

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/gameobjects/lights/LightsManager.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -244,11 +244,11 @@ var LightsManager = new Class({
244244
* @method Phaser.GameObjects.LightsManager#addLight
245245
* @since 3.0.0
246246
*
247-
* @param {number} x - The horizontal position of the Light.
248-
* @param {number} y - The vertical position of the Light.
249-
* @param {number} radius - The radius of the Light.
250-
* @param {number} rgb - The integer RGB color of the light.
251-
* @param {number} intensity - The intensity of the Light.
247+
* @param {number} [x=0] - The horizontal position of the Light.
248+
* @param {number} [y=0] - The vertical position of the Light.
249+
* @param {number} [radius=100] - The radius of the Light.
250+
* @param {number} [rgb=0xffffff] - The integer RGB color of the light.
251+
* @param {number} [intensity=1] - The intensity of the Light.
252252
*
253253
* @return {Phaser.GameObjects.Light} The Light that was added.
254254
*/

0 commit comments

Comments
 (0)