@@ -135,7 +135,7 @@ var Light = new Class({
135135 * @param {number } b - The blue color. A value between 0 and 1.
136136 * @param {number } intensity - The intensity of the light.
137137 *
138- * @return {Phaser.GameObjects.Light } This Light object.
138+ * @return {this } This Light object.
139139 */
140140 set : function ( x , y , radius , r , g , b , intensity )
141141 {
@@ -165,7 +165,7 @@ var Light = new Class({
165165 * @param {number } x - The horizontal scroll factor of the light.
166166 * @param {number } y - The vertical scroll factor of the light.
167167 *
168- * @return {Phaser.GameObjects.Light } This Light object.
168+ * @return {this } This Light object.
169169 */
170170 setScrollFactor : function ( x , y )
171171 {
@@ -186,7 +186,7 @@ var Light = new Class({
186186 *
187187 * @param {number } rgb - The integer RGB color of the light.
188188 *
189- * @return {Phaser.GameObjects.Light } This Light object.
189+ * @return {this } This Light object.
190190 */
191191 setColor : function ( rgb )
192192 {
@@ -207,7 +207,7 @@ var Light = new Class({
207207 *
208208 * @param {number } intensity - The intensity of the light.
209209 *
210- * @return {Phaser.GameObjects.Light } This Light object.
210+ * @return {this } This Light object.
211211 */
212212 setIntensity : function ( intensity )
213213 {
@@ -225,7 +225,7 @@ var Light = new Class({
225225 * @param {number } x - The horizontal position of the light.
226226 * @param {number } y - The vertical position of the light.
227227 *
228- * @return {Phaser.GameObjects.Light } This Light object.
228+ * @return {this } This Light object.
229229 */
230230 setPosition : function ( x , y )
231231 {
@@ -243,7 +243,7 @@ var Light = new Class({
243243 *
244244 * @param {number } radius - The radius of the light.
245245 *
246- * @return {Phaser.GameObjects.Light } This Light object.
246+ * @return {this } This Light object.
247247 */
248248 setRadius : function ( radius )
249249 {
0 commit comments