Skip to content

Commit b40010b

Browse files
committed
Fixed JSDocs
1 parent aaf51dc commit b40010b

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/gameobjects/lights/LightsManager.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -140,13 +140,13 @@ var LightsManager = new Class({
140140
* @method Phaser.GameObjects.LightsManager#enable
141141
* @since 3.0.0
142142
*
143-
* @return {Phaser.GameObjects.LightsManager} This Lights Manager object.
143+
* @return {this} This Lights Manager instance.
144144
*/
145145
enable: function ()
146146
{
147147
if (this.maxLights === -1)
148148
{
149-
this.maxLights = this.scene.sys.renderer.config.maxLights;
149+
this.maxLights = this.systems.renderer.config.maxLights;
150150
}
151151

152152
this.active = true;
@@ -160,7 +160,7 @@ var LightsManager = new Class({
160160
* @method Phaser.GameObjects.LightsManager#disable
161161
* @since 3.0.0
162162
*
163-
* @return {Phaser.GameObjects.LightsManager} This Lights Manager object.
163+
* @return {this} This Lights Manager instance.
164164
*/
165165
disable: function ()
166166
{
@@ -233,7 +233,7 @@ var LightsManager = new Class({
233233
*
234234
* @param {number} rgb - The integer RGB color of the ambient light.
235235
*
236-
* @return {Phaser.GameObjects.LightsManager} This Lights Manager object.
236+
* @return {this} This Lights Manager instance.
237237
*/
238238
setAmbientColor: function (rgb)
239239
{
@@ -278,7 +278,7 @@ var LightsManager = new Class({
278278
*
279279
* @param {number} [x=0] - The horizontal position of the Light.
280280
* @param {number} [y=0] - The vertical position of the Light.
281-
* @param {number} [radius=100] - The radius of the Light.
281+
* @param {number} [radius=128] - The radius of the Light.
282282
* @param {number} [rgb=0xffffff] - The integer RGB color of the light.
283283
* @param {number} [intensity=1] - The intensity of the Light.
284284
*
@@ -309,7 +309,7 @@ var LightsManager = new Class({
309309
*
310310
* @param {Phaser.GameObjects.Light} light - The Light to remove.
311311
*
312-
* @return {Phaser.GameObjects.LightsManager} This Lights Manager object.
312+
* @return {this} This Lights Manager instance.
313313
*/
314314
removeLight: function (light)
315315
{

0 commit comments

Comments
 (0)