You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @return {Phaser.GameObjects.Particles.ParticleEmitter} This Particle Emitter.
951
+
* @return {this} This Particle Emitter.
952
952
*/
953
953
stopFollow: function()
954
954
{
@@ -1009,7 +1009,7 @@ var ParticleEmitter = new Class({
1009
1009
* @param {boolean} [pickRandom=true] - Whether frames should be assigned at random from `frames`.
1010
1010
* @param {integer} [quantity=1] - The number of consecutive particles that will receive each frame.
1011
1011
*
1012
-
* @return {Phaser.GameObjects.Particles.ParticleEmitter} This Particle Emitter.
1012
+
* @return {this} This Particle Emitter.
1013
1013
*/
1014
1014
setFrame: function(frames,pickRandom,quantity)
1015
1015
{
@@ -1064,7 +1064,7 @@ var ParticleEmitter = new Class({
1064
1064
*
1065
1065
* @param {boolean} [value=true] - Radial mode (true) or point mode (true).
1066
1066
*
1067
-
* @return {Phaser.GameObjects.Particles.ParticleEmitter} This Particle Emitter.
1067
+
* @return {this} This Particle Emitter.
1068
1068
*/
1069
1069
setRadial: function(value)
1070
1070
{
@@ -1085,7 +1085,7 @@ var ParticleEmitter = new Class({
1085
1085
* @param {Phaser.Types.GameObjects.Particles.EmitterOpOnEmitType} x - The x-coordinate of the particle origin.
1086
1086
* @param {Phaser.Types.GameObjects.Particles.EmitterOpOnEmitType} y - The y-coordinate of the particle origin.
1087
1087
*
1088
-
* @return {Phaser.GameObjects.Particles.ParticleEmitter} This Particle Emitter.
1088
+
* @return {this} This Particle Emitter.
1089
1089
*/
1090
1090
setPosition: function(x,y)
1091
1091
{
@@ -1108,7 +1108,7 @@ var ParticleEmitter = new Class({
1108
1108
* @param {number} width - The width of the boundary.
1109
1109
* @param {number} height - The height of the boundary.
1110
1110
*
1111
-
* @return {Phaser.GameObjects.Particles.ParticleEmitter} This Particle Emitter.
1111
+
* @return {this} This Particle Emitter.
1112
1112
*/
1113
1113
setBounds: function(x,y,width,height)
1114
1114
{
@@ -1143,7 +1143,7 @@ var ParticleEmitter = new Class({
1143
1143
*
1144
1144
* @param {Phaser.Types.GameObjects.Particles.EmitterOpOnEmitType} value - The speed, in pixels per second.
1145
1145
*
1146
-
* @return {Phaser.GameObjects.Particles.ParticleEmitter} This Particle Emitter.
1146
+
* @return {this} This Particle Emitter.
1147
1147
*/
1148
1148
setSpeedX: function(value)
1149
1149
{
@@ -1164,7 +1164,7 @@ var ParticleEmitter = new Class({
1164
1164
*
1165
1165
* @param {Phaser.Types.GameObjects.Particles.EmitterOpOnEmitType} value - The speed, in pixels per second.
1166
1166
*
1167
-
* @return {Phaser.GameObjects.Particles.ParticleEmitter} This Particle Emitter.
1167
+
* @return {this} This Particle Emitter.
1168
1168
*/
1169
1169
setSpeedY: function(value)
1170
1170
{
@@ -1188,7 +1188,7 @@ var ParticleEmitter = new Class({
1188
1188
*
1189
1189
* @param {Phaser.Types.GameObjects.Particles.EmitterOpOnEmitType} value - The speed, in pixels per second.
1190
1190
*
1191
-
* @return {Phaser.GameObjects.Particles.ParticleEmitter} This Particle Emitter.
1191
+
* @return {this} This Particle Emitter.
1192
1192
*/
1193
1193
setSpeed: function(value)
1194
1194
{
@@ -1209,7 +1209,7 @@ var ParticleEmitter = new Class({
1209
1209
*
1210
1210
* @param {(Phaser.Types.GameObjects.Particles.EmitterOpOnEmitType|Phaser.Types.GameObjects.Particles.EmitterOpOnUpdateType)} value - The scale, relative to 1.
1211
1211
*
1212
-
* @return {Phaser.GameObjects.Particles.ParticleEmitter} This Particle Emitter.
1212
+
* @return {this} This Particle Emitter.
1213
1213
*/
1214
1214
setScaleX: function(value)
1215
1215
{
@@ -1226,7 +1226,7 @@ var ParticleEmitter = new Class({
1226
1226
*
1227
1227
* @param {(Phaser.Types.GameObjects.Particles.EmitterOpOnEmitType|Phaser.Types.GameObjects.Particles.EmitterOpOnUpdateType)} value - The scale, relative to 1.
1228
1228
*
1229
-
* @return {Phaser.GameObjects.Particles.ParticleEmitter} This Particle Emitter.
1229
+
* @return {this} This Particle Emitter.
1230
1230
*/
1231
1231
setScaleY: function(value)
1232
1232
{
@@ -1243,7 +1243,7 @@ var ParticleEmitter = new Class({
1243
1243
*
1244
1244
* @param {(Phaser.Types.GameObjects.Particles.EmitterOpOnEmitType|Phaser.Types.GameObjects.Particles.EmitterOpOnUpdateType)} value - The scale, relative to 1.
1245
1245
*
1246
-
* @return {Phaser.GameObjects.Particles.ParticleEmitter} This Particle Emitter.
1246
+
* @return {this} This Particle Emitter.
1247
1247
*/
1248
1248
setScale: function(value)
1249
1249
{
@@ -1261,7 +1261,7 @@ var ParticleEmitter = new Class({
1261
1261
*
1262
1262
* @param {number} value - Acceleration due to gravity, in pixels per second squared.
1263
1263
*
1264
-
* @return {Phaser.GameObjects.Particles.ParticleEmitter} This Particle Emitter.
1264
+
* @return {this} This Particle Emitter.
1265
1265
*/
1266
1266
setGravityX: function(value)
1267
1267
{
@@ -1278,7 +1278,7 @@ var ParticleEmitter = new Class({
1278
1278
*
1279
1279
* @param {number} value - Acceleration due to gravity, in pixels per second squared.
1280
1280
*
1281
-
* @return {Phaser.GameObjects.Particles.ParticleEmitter} This Particle Emitter.
1281
+
* @return {this} This Particle Emitter.
1282
1282
*/
1283
1283
setGravityY: function(value)
1284
1284
{
@@ -1296,7 +1296,7 @@ var ParticleEmitter = new Class({
1296
1296
* @param {number} x - Horizontal acceleration due to gravity, in pixels per second squared.
1297
1297
* @param {number} y - Vertical acceleration due to gravity, in pixels per second squared.
1298
1298
*
1299
-
* @return {Phaser.GameObjects.Particles.ParticleEmitter} This Particle Emitter.
1299
+
* @return {this} This Particle Emitter.
1300
1300
*/
1301
1301
setGravity: function(x,y)
1302
1302
{
@@ -1314,7 +1314,7 @@ var ParticleEmitter = new Class({
1314
1314
*
1315
1315
* @param {(Phaser.Types.GameObjects.Particles.EmitterOpOnEmitType|Phaser.Types.GameObjects.Particles.EmitterOpOnUpdateType)} value - A value between 0 (transparent) and 1 (opaque).
1316
1316
*
1317
-
* @return {Phaser.GameObjects.Particles.ParticleEmitter} This Particle Emitter.
1317
+
* @return {this} This Particle Emitter.
1318
1318
*/
1319
1319
setAlpha: function(value)
1320
1320
{
@@ -1331,7 +1331,7 @@ var ParticleEmitter = new Class({
1331
1331
*
1332
1332
* @param {(Phaser.Types.GameObjects.Particles.EmitterOpOnEmitType|Phaser.Types.GameObjects.Particles.EmitterOpOnUpdateType)} value - A value between 0 and 0xffffff.
1333
1333
*
1334
-
* @return {Phaser.GameObjects.Particles.ParticleEmitter} This Particle Emitter.
1334
+
* @return {this} This Particle Emitter.
1335
1335
*/
1336
1336
setTint: function(value)
1337
1337
{
@@ -1348,7 +1348,7 @@ var ParticleEmitter = new Class({
1348
1348
*
1349
1349
* @param {Phaser.Types.GameObjects.Particles.EmitterOpOnEmitType} value - The angle of the initial velocity of emitted particles.
1350
1350
*
1351
-
* @return {Phaser.GameObjects.Particles.ParticleEmitter} This Particle Emitter.
1351
+
* @return {this} This Particle Emitter.
1352
1352
*/
1353
1353
setEmitterAngle: function(value)
1354
1354
{
@@ -1365,7 +1365,7 @@ var ParticleEmitter = new Class({
1365
1365
*
1366
1366
* @param {Phaser.Types.GameObjects.Particles.EmitterOpOnEmitType} value - The angle of the initial velocity of emitted particles.
1367
1367
*
1368
-
* @return {Phaser.GameObjects.Particles.ParticleEmitter} This Particle Emitter.
1368
+
* @return {this} This Particle Emitter.
1369
1369
*/
1370
1370
setAngle: function(value)
1371
1371
{
@@ -1382,7 +1382,7 @@ var ParticleEmitter = new Class({
1382
1382
*
1383
1383
* @param {Phaser.Types.GameObjects.Particles.EmitterOpOnEmitType} value - The particle lifespan, in ms.
1384
1384
*
1385
-
* @return {Phaser.GameObjects.Particles.ParticleEmitter} This Particle Emitter.
1385
+
* @return {this} This Particle Emitter.
1386
1386
*/
1387
1387
setLifespan: function(value)
1388
1388
{
@@ -1399,7 +1399,7 @@ var ParticleEmitter = new Class({
1399
1399
*
1400
1400
* @param {Phaser.Types.GameObjects.Particles.EmitterOpOnEmitType} quantity - The number of particles to release at each flow cycle or explosion.
1401
1401
*
1402
-
* @return {Phaser.GameObjects.Particles.ParticleEmitter} This Particle Emitter.
1402
+
* @return {this} This Particle Emitter.
1403
1403
*/
1404
1404
setQuantity: function(quantity)
1405
1405
{
@@ -1418,7 +1418,7 @@ var ParticleEmitter = new Class({
1418
1418
* @param {number} frequency - The time interval (>= 0) of each flow cycle, in ms; or -1 to put the emitter in explosion mode.
1419
1419
* @param {Phaser.Types.GameObjects.Particles.EmitterOpOnEmitType} [quantity] - The number of particles to release at each flow cycle or explosion.
1420
1420
*
1421
-
* @return {Phaser.GameObjects.Particles.ParticleEmitter} This Particle Emitter.
1421
+
* @return {this} This Particle Emitter.
1422
1422
*/
1423
1423
setFrequency: function(frequency,quantity)
1424
1424
{
@@ -1446,7 +1446,7 @@ var ParticleEmitter = new Class({
1446
1446
*
1447
1447
* @param {Phaser.Types.GameObjects.Particles.ParticleEmitterEdgeZoneConfig|Phaser.Types.GameObjects.Particles.ParticleEmitterRandomZoneConfig} [zoneConfig] - An object describing the zone, or `undefined` to remove any current emit zone.
1448
1448
*
1449
-
* @return {Phaser.GameObjects.Particles.ParticleEmitter} This Particle Emitter.
1449
+
* @return {this} This Particle Emitter.
1450
1450
*/
1451
1451
setEmitZone: function(zoneConfig)
1452
1452
{
@@ -1495,7 +1495,7 @@ var ParticleEmitter = new Class({
1495
1495
*
1496
1496
* @param {Phaser.Types.GameObjects.Particles.ParticleEmitterDeathZoneConfig} [zoneConfig] - An object describing the zone, or `undefined` to remove any current death zone.
1497
1497
*
1498
-
* @return {Phaser.GameObjects.Particles.ParticleEmitter} This Particle Emitter.
1498
+
* @return {this} This Particle Emitter.
1499
1499
*/
1500
1500
setDeathZone: function(zoneConfig)
1501
1501
{
@@ -1531,7 +1531,7 @@ var ParticleEmitter = new Class({
1531
1531
*
1532
1532
* @param {integer} particleCount - The number of particles to create.
1533
1533
*
1534
-
* @return {Phaser.GameObjects.Particles.ParticleEmitter} This Particle Emitter.
1534
+
* @return {this} This Particle Emitter.
1535
1535
*/
1536
1536
reserve: function(particleCount)
1537
1537
{
@@ -1606,7 +1606,7 @@ var ParticleEmitter = new Class({
1606
1606
* @param {Phaser.Types.GameObjects.Particles.ParticleEmitterCallback} callback - The function.
1607
1607
* @param {*} [context] - The calling context.
1608
1608
*
1609
-
* @return {Phaser.GameObjects.Particles.ParticleEmitter} This Particle Emitter.
1609
+
* @return {this} This Particle Emitter.
1610
1610
*/
1611
1611
onParticleEmit: function(callback,context)
1612
1612
{
@@ -1638,7 +1638,7 @@ var ParticleEmitter = new Class({
1638
1638
* @param {Phaser.Types.GameObjects.Particles.ParticleDeathCallback} callback - The function.
1639
1639
* @param {*} [context] - The function's calling context.
1640
1640
*
1641
-
* @return {Phaser.GameObjects.Particles.ParticleEmitter} This Particle Emitter.
1641
+
* @return {this} This Particle Emitter.
1642
1642
*/
1643
1643
onParticleDeath: function(callback,context)
1644
1644
{
@@ -1667,7 +1667,7 @@ var ParticleEmitter = new Class({
0 commit comments