isaacscript-common 6.7.0 → 6.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -180,50 +180,50 @@ export declare function spawnBombPickupWithSeed(bombSubType: BombSubType, positi
|
|
|
180
180
|
/**
|
|
181
181
|
* Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.TAROT_CARD` (300).
|
|
182
182
|
*/
|
|
183
|
-
export declare function spawnCard(
|
|
183
|
+
export declare function spawnCard(card: Card, position: Vector, velocity?: Vector, spawner?: Entity | undefined, seedOrRNG?: Seed | RNG | undefined): EntityPickupCard;
|
|
184
184
|
/**
|
|
185
185
|
* Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.TAROT_CARD` (300)
|
|
186
186
|
* and a specific seed.
|
|
187
187
|
*/
|
|
188
|
-
export declare function spawnCardWithSeed(
|
|
188
|
+
export declare function spawnCardWithSeed(card: Card, position: Vector, seedOrRNG: Seed | RNG, velocity?: Vector, spawner?: Entity | undefined): EntityPickupCard;
|
|
189
189
|
/** Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.COIN` (20). */
|
|
190
|
-
export declare function spawnCoin(
|
|
190
|
+
export declare function spawnCoin(coinSubType: CoinSubType, position: Vector, velocity?: Vector, spawner?: Entity | undefined, seedOrRNG?: Seed | RNG | undefined): EntityPickupCoin;
|
|
191
191
|
/**
|
|
192
192
|
* Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.COIN` (20) and a
|
|
193
193
|
* specific seed.
|
|
194
194
|
*/
|
|
195
|
-
export declare function spawnCoinWithSeed(
|
|
195
|
+
export declare function spawnCoinWithSeed(coinSubType: CoinSubType, position: Vector, seedOrRNG: Seed | RNG, velocity?: Vector, spawner?: Entity | undefined): EntityPickupCoin;
|
|
196
196
|
/** Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.HEART` (10). */
|
|
197
|
-
export declare function spawnHeart(
|
|
198
|
-
export declare function spawnHeartWithSeed(
|
|
197
|
+
export declare function spawnHeart(heartSubType: HeartSubType, position: Vector, velocity?: Vector, spawner?: Entity | undefined, seedOrRNG?: Seed | RNG | undefined): EntityPickupHeart;
|
|
198
|
+
export declare function spawnHeartWithSeed(heartSubType: HeartSubType, position: Vector, seedOrRNG: Seed | RNG, velocity?: Vector, spawner?: Entity | undefined): EntityPickupHeart;
|
|
199
199
|
/** Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.KEY` (30). */
|
|
200
|
-
export declare function spawnKey(
|
|
200
|
+
export declare function spawnKey(keySubType: KeySubType, position: Vector, velocity?: Vector, spawner?: Entity | undefined, seedOrRNG?: Seed | RNG | undefined): EntityPickupKey;
|
|
201
201
|
/**
|
|
202
202
|
* Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.KEY` (30) and a
|
|
203
203
|
* specific seed.
|
|
204
204
|
*/
|
|
205
|
-
export declare function spawnKeyWithSeed(
|
|
205
|
+
export declare function spawnKeyWithSeed(keySubType: KeySubType, position: Vector, seedOrRNG: Seed | RNG, velocity?: Vector, spawner?: Entity | undefined): EntityPickupKey;
|
|
206
206
|
/** Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.PILL` (70). */
|
|
207
207
|
export declare function spawnPill(pillColor: PillColor, position: Vector, velocity?: Vector, spawner?: Entity | undefined, seedOrRNG?: Seed | RNG | undefined): EntityPickupPill;
|
|
208
208
|
/**
|
|
209
209
|
* Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.PILL` (70) and a
|
|
210
210
|
* specific seed.
|
|
211
211
|
*/
|
|
212
|
-
export declare function spawnPillWithSeed(
|
|
212
|
+
export declare function spawnPillWithSeed(pillColor: PillColor, position: Vector, seedOrRNG: Seed | RNG, velocity?: Vector, spawner?: Entity | undefined): EntityPickupPill;
|
|
213
213
|
/** Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.SACK` (69). */
|
|
214
|
-
export declare function spawnSack(
|
|
214
|
+
export declare function spawnSack(sackSubType: SackSubType, position: Vector, velocity?: Vector, spawner?: Entity | undefined, seedOrRNG?: Seed | RNG | undefined): EntityPickupSack;
|
|
215
215
|
/**
|
|
216
216
|
* Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.SACK` (69) and a
|
|
217
217
|
* specific seed.
|
|
218
218
|
*/
|
|
219
|
-
export declare function spawnSackWithSeed(
|
|
219
|
+
export declare function spawnSackWithSeed(sackSubType: SackSubType, position: Vector, seedOrRNG: Seed | RNG, velocity?: Vector, spawner?: Entity | undefined): EntityPickupSack;
|
|
220
220
|
/**
|
|
221
221
|
* Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.TRINKET` (350).
|
|
222
222
|
*/
|
|
223
|
-
export declare function spawnTrinket(
|
|
223
|
+
export declare function spawnTrinket(trinketType: TrinketType, position: Vector, velocity?: Vector, spawner?: Entity | undefined, seedOrRNG?: Seed | RNG | undefined): EntityPickupTrinket;
|
|
224
224
|
/**
|
|
225
225
|
* Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.TRINKET` (350) and
|
|
226
226
|
* a specific seed.
|
|
227
227
|
*/
|
|
228
|
-
export declare function spawnTrinketWithSeed(
|
|
228
|
+
export declare function spawnTrinketWithSeed(trinketType: TrinketType, position: Vector, seedOrRNG: Seed | RNG, velocity?: Vector, spawner?: Entity | undefined): EntityPickupTrinket;
|
|
229
229
|
//# sourceMappingURL=pickupsSpecific.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pickupsSpecific.d.ts","sourceRoot":"","sources":["../../src/functions/pickupsSpecific.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,WAAW,EACX,IAAI,EACJ,WAAW,EACX,eAAe,EACf,YAAY,EACZ,UAAU,EAEV,SAAS,EACT,WAAW,EACX,WAAW,EACZ,MAAM,8BAA8B,CAAC;AAItC;;;;;GAKG;AACH,wBAAgB,YAAY,CA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B,SAAS,EAAE,IAAI,GAAG,GAAG,EACrB,QAAQ,GAAE,MAAmB,EAC7B,OAAO,GAAE,MAAM,GAAG,SAAqB,GACtC,gBAAgB,CAElB;AAED;;GAEG;AACH,wBAAgB,YAAY,CAC1B,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,MAAM,EAChB,QAAQ,GAAE,MAAmB,EAC7B,OAAO,GAAE,MAAM,GAAG,SAAqB,EACvC,SAAS,GAAE,IAAI,GAAG,GAAG,GAAG,SAAqB,GAC5C,mBAAmB,CASrB;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,IAAI,GAAG,GAAG,EACrB,QAAQ,GAAE,MAAmB,EAC7B,OAAO,GAAE,MAAM,GAAG,SAAqB,GACtC,mBAAmB,CAErB"}
|
|
@@ -287,7 +287,7 @@ function ____exports.spawnBombPickupWithSeed(self, bombSubType, position, seedOr
|
|
|
287
287
|
)
|
|
288
288
|
end
|
|
289
289
|
--- Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.TAROT_CARD` (300).
|
|
290
|
-
function ____exports.spawnCard(self,
|
|
290
|
+
function ____exports.spawnCard(self, card, position, velocity, spawner, seedOrRNG)
|
|
291
291
|
if velocity == nil then
|
|
292
292
|
velocity = VectorZero
|
|
293
293
|
end
|
|
@@ -300,7 +300,7 @@ function ____exports.spawnCard(self, subType, position, velocity, spawner, seedO
|
|
|
300
300
|
return spawnPickup(
|
|
301
301
|
nil,
|
|
302
302
|
PickupVariant.TAROT_CARD,
|
|
303
|
-
|
|
303
|
+
card,
|
|
304
304
|
position,
|
|
305
305
|
velocity,
|
|
306
306
|
spawner,
|
|
@@ -309,7 +309,7 @@ function ____exports.spawnCard(self, subType, position, velocity, spawner, seedO
|
|
|
309
309
|
end
|
|
310
310
|
--- Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.TAROT_CARD` (300)
|
|
311
311
|
-- and a specific seed.
|
|
312
|
-
function ____exports.spawnCardWithSeed(self,
|
|
312
|
+
function ____exports.spawnCardWithSeed(self, card, position, seedOrRNG, velocity, spawner)
|
|
313
313
|
if velocity == nil then
|
|
314
314
|
velocity = VectorZero
|
|
315
315
|
end
|
|
@@ -318,7 +318,7 @@ function ____exports.spawnCardWithSeed(self, subType, position, seedOrRNG, veloc
|
|
|
318
318
|
end
|
|
319
319
|
return ____exports.spawnCard(
|
|
320
320
|
nil,
|
|
321
|
-
|
|
321
|
+
card,
|
|
322
322
|
position,
|
|
323
323
|
velocity,
|
|
324
324
|
spawner,
|
|
@@ -326,7 +326,7 @@ function ____exports.spawnCardWithSeed(self, subType, position, seedOrRNG, veloc
|
|
|
326
326
|
)
|
|
327
327
|
end
|
|
328
328
|
--- Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.COIN` (20).
|
|
329
|
-
function ____exports.spawnCoin(self,
|
|
329
|
+
function ____exports.spawnCoin(self, coinSubType, position, velocity, spawner, seedOrRNG)
|
|
330
330
|
if velocity == nil then
|
|
331
331
|
velocity = VectorZero
|
|
332
332
|
end
|
|
@@ -339,7 +339,7 @@ function ____exports.spawnCoin(self, subType, position, velocity, spawner, seedO
|
|
|
339
339
|
return spawnPickup(
|
|
340
340
|
nil,
|
|
341
341
|
PickupVariant.COIN,
|
|
342
|
-
|
|
342
|
+
coinSubType,
|
|
343
343
|
position,
|
|
344
344
|
velocity,
|
|
345
345
|
spawner,
|
|
@@ -348,7 +348,7 @@ function ____exports.spawnCoin(self, subType, position, velocity, spawner, seedO
|
|
|
348
348
|
end
|
|
349
349
|
--- Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.COIN` (20) and a
|
|
350
350
|
-- specific seed.
|
|
351
|
-
function ____exports.spawnCoinWithSeed(self,
|
|
351
|
+
function ____exports.spawnCoinWithSeed(self, coinSubType, position, seedOrRNG, velocity, spawner)
|
|
352
352
|
if velocity == nil then
|
|
353
353
|
velocity = VectorZero
|
|
354
354
|
end
|
|
@@ -357,7 +357,7 @@ function ____exports.spawnCoinWithSeed(self, subType, position, seedOrRNG, veloc
|
|
|
357
357
|
end
|
|
358
358
|
return ____exports.spawnCoin(
|
|
359
359
|
nil,
|
|
360
|
-
|
|
360
|
+
coinSubType,
|
|
361
361
|
position,
|
|
362
362
|
velocity,
|
|
363
363
|
spawner,
|
|
@@ -365,7 +365,7 @@ function ____exports.spawnCoinWithSeed(self, subType, position, seedOrRNG, veloc
|
|
|
365
365
|
)
|
|
366
366
|
end
|
|
367
367
|
--- Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.HEART` (10).
|
|
368
|
-
function ____exports.spawnHeart(self,
|
|
368
|
+
function ____exports.spawnHeart(self, heartSubType, position, velocity, spawner, seedOrRNG)
|
|
369
369
|
if velocity == nil then
|
|
370
370
|
velocity = VectorZero
|
|
371
371
|
end
|
|
@@ -378,14 +378,14 @@ function ____exports.spawnHeart(self, subType, position, velocity, spawner, seed
|
|
|
378
378
|
return spawnPickup(
|
|
379
379
|
nil,
|
|
380
380
|
PickupVariant.HEART,
|
|
381
|
-
|
|
381
|
+
heartSubType,
|
|
382
382
|
position,
|
|
383
383
|
velocity,
|
|
384
384
|
spawner,
|
|
385
385
|
seedOrRNG
|
|
386
386
|
)
|
|
387
387
|
end
|
|
388
|
-
function ____exports.spawnHeartWithSeed(self,
|
|
388
|
+
function ____exports.spawnHeartWithSeed(self, heartSubType, position, seedOrRNG, velocity, spawner)
|
|
389
389
|
if velocity == nil then
|
|
390
390
|
velocity = VectorZero
|
|
391
391
|
end
|
|
@@ -394,7 +394,7 @@ function ____exports.spawnHeartWithSeed(self, subType, position, seedOrRNG, velo
|
|
|
394
394
|
end
|
|
395
395
|
return ____exports.spawnHeart(
|
|
396
396
|
nil,
|
|
397
|
-
|
|
397
|
+
heartSubType,
|
|
398
398
|
position,
|
|
399
399
|
velocity,
|
|
400
400
|
spawner,
|
|
@@ -402,7 +402,7 @@ function ____exports.spawnHeartWithSeed(self, subType, position, seedOrRNG, velo
|
|
|
402
402
|
)
|
|
403
403
|
end
|
|
404
404
|
--- Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.KEY` (30).
|
|
405
|
-
function ____exports.spawnKey(self,
|
|
405
|
+
function ____exports.spawnKey(self, keySubType, position, velocity, spawner, seedOrRNG)
|
|
406
406
|
if velocity == nil then
|
|
407
407
|
velocity = VectorZero
|
|
408
408
|
end
|
|
@@ -415,7 +415,7 @@ function ____exports.spawnKey(self, subType, position, velocity, spawner, seedOr
|
|
|
415
415
|
return spawnPickup(
|
|
416
416
|
nil,
|
|
417
417
|
PickupVariant.KEY,
|
|
418
|
-
|
|
418
|
+
keySubType,
|
|
419
419
|
position,
|
|
420
420
|
velocity,
|
|
421
421
|
spawner,
|
|
@@ -424,7 +424,7 @@ function ____exports.spawnKey(self, subType, position, velocity, spawner, seedOr
|
|
|
424
424
|
end
|
|
425
425
|
--- Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.KEY` (30) and a
|
|
426
426
|
-- specific seed.
|
|
427
|
-
function ____exports.spawnKeyWithSeed(self,
|
|
427
|
+
function ____exports.spawnKeyWithSeed(self, keySubType, position, seedOrRNG, velocity, spawner)
|
|
428
428
|
if velocity == nil then
|
|
429
429
|
velocity = VectorZero
|
|
430
430
|
end
|
|
@@ -433,7 +433,7 @@ function ____exports.spawnKeyWithSeed(self, subType, position, seedOrRNG, veloci
|
|
|
433
433
|
end
|
|
434
434
|
return ____exports.spawnKey(
|
|
435
435
|
nil,
|
|
436
|
-
|
|
436
|
+
keySubType,
|
|
437
437
|
position,
|
|
438
438
|
velocity,
|
|
439
439
|
spawner,
|
|
@@ -463,7 +463,7 @@ function ____exports.spawnPill(self, pillColor, position, velocity, spawner, see
|
|
|
463
463
|
end
|
|
464
464
|
--- Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.PILL` (70) and a
|
|
465
465
|
-- specific seed.
|
|
466
|
-
function ____exports.spawnPillWithSeed(self,
|
|
466
|
+
function ____exports.spawnPillWithSeed(self, pillColor, position, seedOrRNG, velocity, spawner)
|
|
467
467
|
if velocity == nil then
|
|
468
468
|
velocity = VectorZero
|
|
469
469
|
end
|
|
@@ -472,7 +472,7 @@ function ____exports.spawnPillWithSeed(self, subType, position, seedOrRNG, veloc
|
|
|
472
472
|
end
|
|
473
473
|
return ____exports.spawnPill(
|
|
474
474
|
nil,
|
|
475
|
-
|
|
475
|
+
pillColor,
|
|
476
476
|
position,
|
|
477
477
|
velocity,
|
|
478
478
|
spawner,
|
|
@@ -480,7 +480,7 @@ function ____exports.spawnPillWithSeed(self, subType, position, seedOrRNG, veloc
|
|
|
480
480
|
)
|
|
481
481
|
end
|
|
482
482
|
--- Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.SACK` (69).
|
|
483
|
-
function ____exports.spawnSack(self,
|
|
483
|
+
function ____exports.spawnSack(self, sackSubType, position, velocity, spawner, seedOrRNG)
|
|
484
484
|
if velocity == nil then
|
|
485
485
|
velocity = VectorZero
|
|
486
486
|
end
|
|
@@ -493,7 +493,7 @@ function ____exports.spawnSack(self, subType, position, velocity, spawner, seedO
|
|
|
493
493
|
return spawnPickup(
|
|
494
494
|
nil,
|
|
495
495
|
PickupVariant.SACK,
|
|
496
|
-
|
|
496
|
+
sackSubType,
|
|
497
497
|
position,
|
|
498
498
|
velocity,
|
|
499
499
|
spawner,
|
|
@@ -502,7 +502,7 @@ function ____exports.spawnSack(self, subType, position, velocity, spawner, seedO
|
|
|
502
502
|
end
|
|
503
503
|
--- Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.SACK` (69) and a
|
|
504
504
|
-- specific seed.
|
|
505
|
-
function ____exports.spawnSackWithSeed(self,
|
|
505
|
+
function ____exports.spawnSackWithSeed(self, sackSubType, position, seedOrRNG, velocity, spawner)
|
|
506
506
|
if velocity == nil then
|
|
507
507
|
velocity = VectorZero
|
|
508
508
|
end
|
|
@@ -511,7 +511,7 @@ function ____exports.spawnSackWithSeed(self, subType, position, seedOrRNG, veloc
|
|
|
511
511
|
end
|
|
512
512
|
return ____exports.spawnSack(
|
|
513
513
|
nil,
|
|
514
|
-
|
|
514
|
+
sackSubType,
|
|
515
515
|
position,
|
|
516
516
|
velocity,
|
|
517
517
|
spawner,
|
|
@@ -519,7 +519,7 @@ function ____exports.spawnSackWithSeed(self, subType, position, seedOrRNG, veloc
|
|
|
519
519
|
)
|
|
520
520
|
end
|
|
521
521
|
--- Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.TRINKET` (350).
|
|
522
|
-
function ____exports.spawnTrinket(self,
|
|
522
|
+
function ____exports.spawnTrinket(self, trinketType, position, velocity, spawner, seedOrRNG)
|
|
523
523
|
if velocity == nil then
|
|
524
524
|
velocity = VectorZero
|
|
525
525
|
end
|
|
@@ -532,7 +532,7 @@ function ____exports.spawnTrinket(self, subType, position, velocity, spawner, se
|
|
|
532
532
|
return spawnPickup(
|
|
533
533
|
nil,
|
|
534
534
|
PickupVariant.TRINKET,
|
|
535
|
-
|
|
535
|
+
trinketType,
|
|
536
536
|
position,
|
|
537
537
|
velocity,
|
|
538
538
|
spawner,
|
|
@@ -541,7 +541,7 @@ function ____exports.spawnTrinket(self, subType, position, velocity, spawner, se
|
|
|
541
541
|
end
|
|
542
542
|
--- Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.TRINKET` (350) and
|
|
543
543
|
-- a specific seed.
|
|
544
|
-
function ____exports.spawnTrinketWithSeed(self,
|
|
544
|
+
function ____exports.spawnTrinketWithSeed(self, trinketType, position, seedOrRNG, velocity, spawner)
|
|
545
545
|
if velocity == nil then
|
|
546
546
|
velocity = VectorZero
|
|
547
547
|
end
|
|
@@ -550,7 +550,7 @@ function ____exports.spawnTrinketWithSeed(self, subType, position, seedOrRNG, ve
|
|
|
550
550
|
end
|
|
551
551
|
return ____exports.spawnTrinket(
|
|
552
552
|
nil,
|
|
553
|
-
|
|
553
|
+
trinketType,
|
|
554
554
|
position,
|
|
555
555
|
velocity,
|
|
556
556
|
spawner,
|
package/package.json
CHANGED
|
@@ -392,7 +392,7 @@ export function spawnBombPickupWithSeed(
|
|
|
392
392
|
* Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.TAROT_CARD` (300).
|
|
393
393
|
*/
|
|
394
394
|
export function spawnCard(
|
|
395
|
-
|
|
395
|
+
card: Card,
|
|
396
396
|
position: Vector,
|
|
397
397
|
velocity: Vector = VectorZero,
|
|
398
398
|
spawner: Entity | undefined = undefined,
|
|
@@ -400,7 +400,7 @@ export function spawnCard(
|
|
|
400
400
|
): EntityPickupCard {
|
|
401
401
|
return spawnPickup(
|
|
402
402
|
PickupVariant.TAROT_CARD,
|
|
403
|
-
|
|
403
|
+
card,
|
|
404
404
|
position,
|
|
405
405
|
velocity,
|
|
406
406
|
spawner,
|
|
@@ -413,18 +413,18 @@ export function spawnCard(
|
|
|
413
413
|
* and a specific seed.
|
|
414
414
|
*/
|
|
415
415
|
export function spawnCardWithSeed(
|
|
416
|
-
|
|
416
|
+
card: Card,
|
|
417
417
|
position: Vector,
|
|
418
418
|
seedOrRNG: Seed | RNG,
|
|
419
419
|
velocity: Vector = VectorZero,
|
|
420
420
|
spawner: Entity | undefined = undefined,
|
|
421
421
|
): EntityPickupCard {
|
|
422
|
-
return spawnCard(
|
|
422
|
+
return spawnCard(card, position, velocity, spawner, seedOrRNG);
|
|
423
423
|
}
|
|
424
424
|
|
|
425
425
|
/** Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.COIN` (20). */
|
|
426
426
|
export function spawnCoin(
|
|
427
|
-
|
|
427
|
+
coinSubType: CoinSubType,
|
|
428
428
|
position: Vector,
|
|
429
429
|
velocity: Vector = VectorZero,
|
|
430
430
|
spawner: Entity | undefined = undefined,
|
|
@@ -432,7 +432,7 @@ export function spawnCoin(
|
|
|
432
432
|
): EntityPickupCoin {
|
|
433
433
|
return spawnPickup(
|
|
434
434
|
PickupVariant.COIN,
|
|
435
|
-
|
|
435
|
+
coinSubType,
|
|
436
436
|
position,
|
|
437
437
|
velocity,
|
|
438
438
|
spawner,
|
|
@@ -445,18 +445,18 @@ export function spawnCoin(
|
|
|
445
445
|
* specific seed.
|
|
446
446
|
*/
|
|
447
447
|
export function spawnCoinWithSeed(
|
|
448
|
-
|
|
448
|
+
coinSubType: CoinSubType,
|
|
449
449
|
position: Vector,
|
|
450
450
|
seedOrRNG: Seed | RNG,
|
|
451
451
|
velocity: Vector = VectorZero,
|
|
452
452
|
spawner: Entity | undefined = undefined,
|
|
453
453
|
): EntityPickupCoin {
|
|
454
|
-
return spawnCoin(
|
|
454
|
+
return spawnCoin(coinSubType, position, velocity, spawner, seedOrRNG);
|
|
455
455
|
}
|
|
456
456
|
|
|
457
457
|
/** Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.HEART` (10). */
|
|
458
458
|
export function spawnHeart(
|
|
459
|
-
|
|
459
|
+
heartSubType: HeartSubType,
|
|
460
460
|
position: Vector,
|
|
461
461
|
velocity: Vector = VectorZero,
|
|
462
462
|
spawner: Entity | undefined = undefined,
|
|
@@ -464,7 +464,7 @@ export function spawnHeart(
|
|
|
464
464
|
): EntityPickupHeart {
|
|
465
465
|
return spawnPickup(
|
|
466
466
|
PickupVariant.HEART,
|
|
467
|
-
|
|
467
|
+
heartSubType,
|
|
468
468
|
position,
|
|
469
469
|
velocity,
|
|
470
470
|
spawner,
|
|
@@ -473,18 +473,18 @@ export function spawnHeart(
|
|
|
473
473
|
}
|
|
474
474
|
|
|
475
475
|
export function spawnHeartWithSeed(
|
|
476
|
-
|
|
476
|
+
heartSubType: HeartSubType,
|
|
477
477
|
position: Vector,
|
|
478
478
|
seedOrRNG: Seed | RNG,
|
|
479
479
|
velocity: Vector = VectorZero,
|
|
480
480
|
spawner: Entity | undefined = undefined,
|
|
481
481
|
): EntityPickupHeart {
|
|
482
|
-
return spawnHeart(
|
|
482
|
+
return spawnHeart(heartSubType, position, velocity, spawner, seedOrRNG);
|
|
483
483
|
}
|
|
484
484
|
|
|
485
485
|
/** Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.KEY` (30). */
|
|
486
486
|
export function spawnKey(
|
|
487
|
-
|
|
487
|
+
keySubType: KeySubType,
|
|
488
488
|
position: Vector,
|
|
489
489
|
velocity: Vector = VectorZero,
|
|
490
490
|
spawner: Entity | undefined = undefined,
|
|
@@ -492,7 +492,7 @@ export function spawnKey(
|
|
|
492
492
|
): EntityPickupKey {
|
|
493
493
|
return spawnPickup(
|
|
494
494
|
PickupVariant.KEY,
|
|
495
|
-
|
|
495
|
+
keySubType,
|
|
496
496
|
position,
|
|
497
497
|
velocity,
|
|
498
498
|
spawner,
|
|
@@ -505,13 +505,13 @@ export function spawnKey(
|
|
|
505
505
|
* specific seed.
|
|
506
506
|
*/
|
|
507
507
|
export function spawnKeyWithSeed(
|
|
508
|
-
|
|
508
|
+
keySubType: KeySubType,
|
|
509
509
|
position: Vector,
|
|
510
510
|
seedOrRNG: Seed | RNG,
|
|
511
511
|
velocity: Vector = VectorZero,
|
|
512
512
|
spawner: Entity | undefined = undefined,
|
|
513
513
|
): EntityPickupKey {
|
|
514
|
-
return spawnKey(
|
|
514
|
+
return spawnKey(keySubType, position, velocity, spawner, seedOrRNG);
|
|
515
515
|
}
|
|
516
516
|
|
|
517
517
|
/** Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.PILL` (70). */
|
|
@@ -537,18 +537,18 @@ export function spawnPill(
|
|
|
537
537
|
* specific seed.
|
|
538
538
|
*/
|
|
539
539
|
export function spawnPillWithSeed(
|
|
540
|
-
|
|
540
|
+
pillColor: PillColor,
|
|
541
541
|
position: Vector,
|
|
542
542
|
seedOrRNG: Seed | RNG,
|
|
543
543
|
velocity: Vector = VectorZero,
|
|
544
544
|
spawner: Entity | undefined = undefined,
|
|
545
545
|
): EntityPickupPill {
|
|
546
|
-
return spawnPill(
|
|
546
|
+
return spawnPill(pillColor, position, velocity, spawner, seedOrRNG);
|
|
547
547
|
}
|
|
548
548
|
|
|
549
549
|
/** Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.SACK` (69). */
|
|
550
550
|
export function spawnSack(
|
|
551
|
-
|
|
551
|
+
sackSubType: SackSubType,
|
|
552
552
|
position: Vector,
|
|
553
553
|
velocity: Vector = VectorZero,
|
|
554
554
|
spawner: Entity | undefined = undefined,
|
|
@@ -556,7 +556,7 @@ export function spawnSack(
|
|
|
556
556
|
): EntityPickupSack {
|
|
557
557
|
return spawnPickup(
|
|
558
558
|
PickupVariant.SACK,
|
|
559
|
-
|
|
559
|
+
sackSubType,
|
|
560
560
|
position,
|
|
561
561
|
velocity,
|
|
562
562
|
spawner,
|
|
@@ -569,20 +569,20 @@ export function spawnSack(
|
|
|
569
569
|
* specific seed.
|
|
570
570
|
*/
|
|
571
571
|
export function spawnSackWithSeed(
|
|
572
|
-
|
|
572
|
+
sackSubType: SackSubType,
|
|
573
573
|
position: Vector,
|
|
574
574
|
seedOrRNG: Seed | RNG,
|
|
575
575
|
velocity: Vector = VectorZero,
|
|
576
576
|
spawner: Entity | undefined = undefined,
|
|
577
577
|
): EntityPickupSack {
|
|
578
|
-
return spawnSack(
|
|
578
|
+
return spawnSack(sackSubType, position, velocity, spawner, seedOrRNG);
|
|
579
579
|
}
|
|
580
580
|
|
|
581
581
|
/**
|
|
582
582
|
* Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.TRINKET` (350).
|
|
583
583
|
*/
|
|
584
584
|
export function spawnTrinket(
|
|
585
|
-
|
|
585
|
+
trinketType: TrinketType,
|
|
586
586
|
position: Vector,
|
|
587
587
|
velocity: Vector = VectorZero,
|
|
588
588
|
spawner: Entity | undefined = undefined,
|
|
@@ -590,7 +590,7 @@ export function spawnTrinket(
|
|
|
590
590
|
): EntityPickupTrinket {
|
|
591
591
|
return spawnPickup(
|
|
592
592
|
PickupVariant.TRINKET,
|
|
593
|
-
|
|
593
|
+
trinketType,
|
|
594
594
|
position,
|
|
595
595
|
velocity,
|
|
596
596
|
spawner,
|
|
@@ -603,11 +603,11 @@ export function spawnTrinket(
|
|
|
603
603
|
* a specific seed.
|
|
604
604
|
*/
|
|
605
605
|
export function spawnTrinketWithSeed(
|
|
606
|
-
|
|
606
|
+
trinketType: TrinketType,
|
|
607
607
|
position: Vector,
|
|
608
608
|
seedOrRNG: Seed | RNG,
|
|
609
609
|
velocity: Vector = VectorZero,
|
|
610
610
|
spawner: Entity | undefined = undefined,
|
|
611
611
|
): EntityPickupTrinket {
|
|
612
|
-
return spawnTrinket(
|
|
612
|
+
return spawnTrinket(trinketType, position, velocity, spawner, seedOrRNG);
|
|
613
613
|
}
|