isaacscript-common 1.2.130 → 1.2.131
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.
|
@@ -119,16 +119,21 @@ export declare function setGridEntityInvisible(gridEntity: GridEntity): void;
|
|
|
119
119
|
*/
|
|
120
120
|
export declare function spawnGiantPoop(topLeftGridIndex: int): void;
|
|
121
121
|
/**
|
|
122
|
-
* Helper function to spawn a grid entity.
|
|
123
|
-
*
|
|
122
|
+
* Helper function to spawn a grid entity.
|
|
123
|
+
*
|
|
124
|
+
* This function assumes you want to give the grid entity a variant of 0. If you want to specify a
|
|
125
|
+
* variant, use the `spawnGridEntityWithVariant` helper function instead.
|
|
126
|
+
*
|
|
127
|
+
* Use this instead of the `Isaac.GridSpawn()` method since it:
|
|
124
128
|
* - handles giving pits collision
|
|
125
129
|
* - removes existing grid entities on the same tile, if any
|
|
126
130
|
* - allows you to specify the grid index instead of the position
|
|
127
131
|
*/
|
|
128
132
|
export declare function spawnGridEntity(gridEntityType: GridEntityType, gridIndex: int): GridEntity | undefined;
|
|
129
133
|
/**
|
|
130
|
-
* Helper function to spawn a grid entity with a specific variant.
|
|
131
|
-
*
|
|
134
|
+
* Helper function to spawn a grid entity with a specific variant.
|
|
135
|
+
*
|
|
136
|
+
* Use this instead of the `Isaac.GridSpawn()` method since it:
|
|
132
137
|
* - handles giving pits collision
|
|
133
138
|
* - removes existing grid entities on the same tile, if any
|
|
134
139
|
* - allows you to specify the grid index instead of the position
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "isaacscript-common",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.131",
|
|
4
4
|
"description": "Helper functions for IsaacScript mods",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"isaac",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
],
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@zamiell/typescript-to-lua": "^1.4.2",
|
|
29
|
-
"isaac-typescript-definitions": "^1.0.
|
|
29
|
+
"isaac-typescript-definitions": "^1.0.362",
|
|
30
30
|
"isaacscript-lint": "^1.0.84",
|
|
31
31
|
"isaacscript-tsconfig": "^1.1.8",
|
|
32
32
|
"typedoc": "^0.22.13",
|