isaacscript-common 31.7.2 → 31.7.3
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.
package/dist/index.rollup.d.ts
CHANGED
|
@@ -5696,8 +5696,8 @@ export declare function getMatchingGridEntities(gridEntityType: GridEntityType,
|
|
|
5696
5696
|
|
|
5697
5697
|
/**
|
|
5698
5698
|
* Helper function to get the movement actions that the specified `ControllerIndex` is currently
|
|
5699
|
-
* pressing down. This returns an array because a player can
|
|
5700
|
-
*
|
|
5699
|
+
* pressing down. This returns an array because a player can be holding down more than one movement
|
|
5700
|
+
* key at a time.
|
|
5701
5701
|
*/
|
|
5702
5702
|
export declare function getMoveActions(controllerIndex: ControllerIndex): ButtonAction[];
|
|
5703
5703
|
|
|
@@ -6946,8 +6946,8 @@ export declare function getSetCombinations<T>(set: Set<T> | ReadonlySet<T>, incl
|
|
|
6946
6946
|
|
|
6947
6947
|
/**
|
|
6948
6948
|
* Helper function to get the shooting actions that the specified `ControllerIndex` is currently
|
|
6949
|
-
* pressing down. This returns an array because a player can
|
|
6950
|
-
*
|
|
6949
|
+
* pressing down. This returns an array because a player can be holding down more than one shooting
|
|
6950
|
+
* key at a time.
|
|
6951
6951
|
*/
|
|
6952
6952
|
export declare function getShootActions(controllerIndex: ControllerIndex): ButtonAction[];
|
|
6953
6953
|
|
|
@@ -13,14 +13,14 @@ export declare const SHOOTING_ACTIONS_SET: ReadonlySet<ButtonAction>;
|
|
|
13
13
|
export declare function controllerToString(controller: Controller): string | undefined;
|
|
14
14
|
/**
|
|
15
15
|
* Helper function to get the movement actions that the specified `ControllerIndex` is currently
|
|
16
|
-
* pressing down. This returns an array because a player can
|
|
17
|
-
*
|
|
16
|
+
* pressing down. This returns an array because a player can be holding down more than one movement
|
|
17
|
+
* key at a time.
|
|
18
18
|
*/
|
|
19
19
|
export declare function getMoveActions(controllerIndex: ControllerIndex): ButtonAction[];
|
|
20
20
|
/**
|
|
21
21
|
* Helper function to get the shooting actions that the specified `ControllerIndex` is currently
|
|
22
|
-
* pressing down. This returns an array because a player can
|
|
23
|
-
*
|
|
22
|
+
* pressing down. This returns an array because a player can be holding down more than one shooting
|
|
23
|
+
* key at a time.
|
|
24
24
|
*/
|
|
25
25
|
export declare function getShootActions(controllerIndex: ControllerIndex): ButtonAction[];
|
|
26
26
|
/**
|
|
@@ -42,8 +42,8 @@ function ____exports.controllerToString(self, controller)
|
|
|
42
42
|
return trimPrefix(nil, key, "BUTTON_")
|
|
43
43
|
end
|
|
44
44
|
--- Helper function to get the movement actions that the specified `ControllerIndex` is currently
|
|
45
|
-
-- pressing down. This returns an array because a player can
|
|
46
|
-
--
|
|
45
|
+
-- pressing down. This returns an array because a player can be holding down more than one movement
|
|
46
|
+
-- key at a time.
|
|
47
47
|
function ____exports.getMoveActions(self, controllerIndex)
|
|
48
48
|
return __TS__ArrayFilter(
|
|
49
49
|
____exports.MOVEMENT_ACTIONS,
|
|
@@ -51,8 +51,8 @@ function ____exports.getMoveActions(self, controllerIndex)
|
|
|
51
51
|
)
|
|
52
52
|
end
|
|
53
53
|
--- Helper function to get the shooting actions that the specified `ControllerIndex` is currently
|
|
54
|
-
-- pressing down. This returns an array because a player can
|
|
55
|
-
--
|
|
54
|
+
-- pressing down. This returns an array because a player can be holding down more than one shooting
|
|
55
|
+
-- key at a time.
|
|
56
56
|
function ____exports.getShootActions(self, controllerIndex)
|
|
57
57
|
return __TS__ArrayFilter(
|
|
58
58
|
____exports.SHOOTING_ACTIONS,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "isaacscript-common",
|
|
3
|
-
"version": "31.7.
|
|
3
|
+
"version": "31.7.3",
|
|
4
4
|
"description": "Helper functions and features for IsaacScript mods.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"isaac",
|
|
@@ -25,6 +25,6 @@
|
|
|
25
25
|
"main": "dist/src/index",
|
|
26
26
|
"types": "dist/index.rollup.d.ts",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"isaac-typescript-definitions": "^13.0.
|
|
28
|
+
"isaac-typescript-definitions": "^13.0.33"
|
|
29
29
|
}
|
|
30
30
|
}
|
package/src/functions/input.ts
CHANGED
|
@@ -60,8 +60,8 @@ export function controllerToString(controller: Controller): string | undefined {
|
|
|
60
60
|
|
|
61
61
|
/**
|
|
62
62
|
* Helper function to get the movement actions that the specified `ControllerIndex` is currently
|
|
63
|
-
* pressing down. This returns an array because a player can
|
|
64
|
-
*
|
|
63
|
+
* pressing down. This returns an array because a player can be holding down more than one movement
|
|
64
|
+
* key at a time.
|
|
65
65
|
*/
|
|
66
66
|
export function getMoveActions(
|
|
67
67
|
controllerIndex: ControllerIndex,
|
|
@@ -73,8 +73,8 @@ export function getMoveActions(
|
|
|
73
73
|
|
|
74
74
|
/**
|
|
75
75
|
* Helper function to get the shooting actions that the specified `ControllerIndex` is currently
|
|
76
|
-
* pressing down. This returns an array because a player can
|
|
77
|
-
*
|
|
76
|
+
* pressing down. This returns an array because a player can be holding down more than one shooting
|
|
77
|
+
* key at a time.
|
|
78
78
|
*/
|
|
79
79
|
export function getShootActions(
|
|
80
80
|
controllerIndex: ControllerIndex,
|