Skip to content

Commit fca6327

Browse files
committed
Fixed this return types for Phaser.GameObjects.Particles.Zones.EdgeZone
1 parent 022fa20 commit fca6327

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/gameobjects/particles/zones/EdgeZone.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ var EdgeZone = new Class({
131131
* @method Phaser.GameObjects.Particles.Zones.EdgeZone#updateSource
132132
* @since 3.0.0
133133
*
134-
* @return {Phaser.GameObjects.Particles.Zones.EdgeZone} This Edge Zone.
134+
* @return {this} This Edge Zone.
135135
*/
136136
updateSource: function ()
137137
{
@@ -170,7 +170,7 @@ var EdgeZone = new Class({
170170
*
171171
* @param {Phaser.Types.GameObjects.Particles.EdgeZoneSource} source - An object instance with a `getPoints(quantity, stepRate)` method returning an array of points.
172172
*
173-
* @return {Phaser.GameObjects.Particles.Zones.EdgeZone} This Edge Zone.
173+
* @return {this} This Edge Zone.
174174
*/
175175
changeSource: function (source)
176176
{

types/phaser.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21000,13 +21000,13 @@ declare namespace Phaser {
2100021000
*
2100121001
* Also updates internal properties.
2100221002
*/
21003-
updateSource(): Phaser.GameObjects.Particles.Zones.EdgeZone;
21003+
updateSource(): this;
2100421004

2100521005
/**
2100621006
* Change the source of the EdgeZone.
2100721007
* @param source An object instance with a `getPoints(quantity, stepRate)` method returning an array of points.
2100821008
*/
21009-
changeSource(source: Phaser.Types.GameObjects.Particles.EdgeZoneSource): Phaser.GameObjects.Particles.Zones.EdgeZone;
21009+
changeSource(source: Phaser.Types.GameObjects.Particles.EdgeZoneSource): this;
2101021010

2101121011
/**
2101221012
* Get the next point in the Zone and set its coordinates on the given Particle.

0 commit comments

Comments
 (0)