@zylem/behaviors 0.5.7 → 0.5.8
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/{chunk-CVRN7YAI.js → chunk-2PAHQZZD.js} +4 -3
- package/dist/chunk-2PAHQZZD.js.map +1 -0
- package/dist/{chunk-7LHXAEOZ.js → chunk-3QUECYMT.js} +5 -4
- package/dist/chunk-3QUECYMT.js.map +1 -0
- package/dist/{chunk-GZ3DQIIZ.js → chunk-4GW6DCYF.js} +1 -0
- package/dist/chunk-4GW6DCYF.js.map +1 -0
- package/dist/{chunk-F7E23E26.js → chunk-4WH2ZN7P.js} +1 -0
- package/dist/chunk-4WH2ZN7P.js.map +1 -0
- package/dist/{chunk-LAN7U3AK.js → chunk-52FJIDGL.js} +2 -1
- package/dist/chunk-52FJIDGL.js.map +1 -0
- package/dist/{chunk-K6CWKFHL.js → chunk-5A5AYP2C.js} +1 -0
- package/dist/chunk-5A5AYP2C.js.map +1 -0
- package/dist/{chunk-JSBRDJBE.js → chunk-5WRI5ZAA.js} +1 -0
- package/dist/chunk-5WRI5ZAA.js.map +1 -0
- package/dist/{chunk-UUMH3DC3.js → chunk-5XPPLTC7.js} +2 -1
- package/dist/chunk-5XPPLTC7.js.map +1 -0
- package/dist/{chunk-OBF6BIA2.js → chunk-AS3HR7AS.js} +2 -1
- package/dist/chunk-AS3HR7AS.js.map +1 -0
- package/dist/{chunk-E2MOFIDH.js → chunk-BAXJ7XHJ.js} +4 -3
- package/dist/chunk-BAXJ7XHJ.js.map +1 -0
- package/dist/{chunk-TK3AXXXI.js → chunk-D7N6SC4D.js} +4 -3
- package/dist/chunk-D7N6SC4D.js.map +1 -0
- package/dist/{chunk-CTSYM56P.js → chunk-DGDNFX43.js} +6 -5
- package/dist/chunk-DGDNFX43.js.map +1 -0
- package/dist/{chunk-CB3C7CRD.js → chunk-DWVLGXMF.js} +5 -4
- package/dist/chunk-DWVLGXMF.js.map +1 -0
- package/dist/{chunk-2HKY6WF7.js → chunk-EIWQM6U3.js} +1 -0
- package/dist/chunk-EIWQM6U3.js.map +1 -0
- package/dist/{chunk-YDLO5M7S.js → chunk-EZNCCO4L.js} +1 -0
- package/dist/chunk-EZNCCO4L.js.map +1 -0
- package/dist/{chunk-LLDLVVG4.js → chunk-GL5JGXPR.js} +5 -4
- package/dist/chunk-GL5JGXPR.js.map +1 -0
- package/dist/{chunk-NDJO56BB.js → chunk-GLXEJD2P.js} +4 -3
- package/dist/chunk-GLXEJD2P.js.map +1 -0
- package/dist/{chunk-QU6GQ657.js → chunk-H4TJ7X4O.js} +3 -2
- package/dist/chunk-H4TJ7X4O.js.map +1 -0
- package/dist/{chunk-4DVDFCVY.js → chunk-HZMY3TT4.js} +1 -0
- package/dist/chunk-HZMY3TT4.js.map +1 -0
- package/dist/{chunk-57GLKGEX.js → chunk-IRMJTAIK.js} +4 -3
- package/dist/chunk-IRMJTAIK.js.map +1 -0
- package/dist/{chunk-2HLZBWGD.js → chunk-IZJFUAXB.js} +1 -0
- package/dist/chunk-IZJFUAXB.js.map +1 -0
- package/dist/{chunk-M25QJBDN.js → chunk-JACX7ZMJ.js} +5 -4
- package/dist/chunk-JACX7ZMJ.js.map +1 -0
- package/dist/{chunk-SHZZ2QRV.js → chunk-JVADRLWX.js} +3 -2
- package/dist/chunk-JVADRLWX.js.map +1 -0
- package/dist/{chunk-RR3XNDKG.js → chunk-KFFETUAL.js} +3 -2
- package/dist/chunk-KFFETUAL.js.map +1 -0
- package/dist/{chunk-OSPQFWQF.js → chunk-KIYUUSPK.js} +3 -2
- package/dist/chunk-KIYUUSPK.js.map +1 -0
- package/dist/{chunk-2YF7J3H4.js → chunk-LL4FLHIY.js} +1 -0
- package/dist/chunk-LL4FLHIY.js.map +1 -0
- package/dist/{chunk-LWM346FW.js → chunk-M3QDKKDF.js} +1 -0
- package/dist/chunk-M3QDKKDF.js.map +1 -0
- package/dist/{chunk-UKGBQTHL.js → chunk-NQPYMUDF.js} +4 -3
- package/dist/chunk-NQPYMUDF.js.map +1 -0
- package/dist/{chunk-DD4U42FG.js → chunk-NW4SE5XW.js} +3 -2
- package/dist/chunk-NW4SE5XW.js.map +1 -0
- package/dist/{chunk-WHKPWIQO.js → chunk-OHCPV2NT.js} +1 -0
- package/dist/chunk-OHCPV2NT.js.map +1 -0
- package/dist/{chunk-TZQQYJYK.js → chunk-OPZ2LVS2.js} +1 -0
- package/dist/chunk-OPZ2LVS2.js.map +1 -0
- package/dist/{chunk-7TIIRJKF.js → chunk-PLIXVF7B.js} +4 -3
- package/dist/chunk-PLIXVF7B.js.map +1 -0
- package/dist/{chunk-4EWASZHB.js → chunk-QVCMJ4Q2.js} +1 -0
- package/dist/chunk-QVCMJ4Q2.js.map +1 -0
- package/dist/{chunk-55CFXXZH.js → chunk-S5HFWDGM.js} +4 -3
- package/dist/chunk-S5HFWDGM.js.map +1 -0
- package/dist/{chunk-3X3CL24Z.js → chunk-SGHIGTVZ.js} +1 -0
- package/dist/chunk-SGHIGTVZ.js.map +1 -0
- package/dist/{chunk-VJ3UA6OD.js → chunk-TBUKJKY6.js} +2 -1
- package/dist/chunk-TBUKJKY6.js.map +1 -0
- package/dist/{chunk-UF7QPYUX.js → chunk-USFIJUDN.js} +1 -0
- package/dist/chunk-USFIJUDN.js.map +1 -0
- package/dist/{chunk-ERS6SNA5.js → chunk-WOMHL23C.js} +2 -1
- package/dist/chunk-WOMHL23C.js.map +1 -0
- package/dist/{chunk-7GGR26YA.js → chunk-WQUPSOFV.js} +4 -3
- package/dist/chunk-WQUPSOFV.js.map +1 -0
- package/dist/{chunk-OU2SW4U5.js → chunk-ZOYA3TZG.js} +4 -3
- package/dist/chunk-ZOYA3TZG.js.map +1 -0
- package/dist/cooldown.js +4 -3
- package/dist/cooldown.js.map +1 -0
- package/dist/coordinators/boundary-ricochet-3d.js +5 -4
- package/dist/coordinators/boundary-ricochet-3d.js.map +1 -0
- package/dist/coordinators/boundary-ricochet.js +5 -4
- package/dist/coordinators/boundary-ricochet.js.map +1 -0
- package/dist/coordinators/first-person-shooter.js +5 -4
- package/dist/coordinators/first-person-shooter.js.map +1 -0
- package/dist/coordinators/multidirectional-space-shooter.js +7 -6
- package/dist/coordinators/multidirectional-space-shooter.js.map +1 -0
- package/dist/coordinators/top-down-shooter.js +7 -6
- package/dist/coordinators/top-down-shooter.js.map +1 -0
- package/dist/core.js +7 -6
- package/dist/core.js.map +1 -0
- package/dist/destructible-3d.js +5 -4
- package/dist/destructible-3d.js.map +1 -0
- package/dist/destructible-prebake.js +3 -2
- package/dist/destructible-prebake.js.map +1 -0
- package/dist/first-person.js +8 -7
- package/dist/first-person.js.map +1 -0
- package/dist/index.js +41 -40
- package/dist/index.js.map +1 -0
- package/dist/jumper-2d.js +6 -5
- package/dist/jumper-2d.js.map +1 -0
- package/dist/jumper-3d.js +7 -6
- package/dist/jumper-3d.js.map +1 -0
- package/dist/particle-emitter/presets.js +3 -2
- package/dist/particle-emitter/presets.js.map +1 -0
- package/dist/particle-emitter.js +6 -5
- package/dist/particle-emitter.js.map +1 -0
- package/dist/platformer-2d.js +6 -5
- package/dist/platformer-2d.js.map +1 -0
- package/dist/platformer-3d.js +6 -5
- package/dist/platformer-3d.js.map +1 -0
- package/dist/ricochet-2d.js +6 -5
- package/dist/ricochet-2d.js.map +1 -0
- package/dist/ricochet-3d.js +6 -5
- package/dist/ricochet-3d.js.map +1 -0
- package/dist/runtime-2d.js +3 -2
- package/dist/runtime-2d.js.map +1 -0
- package/dist/screen-visibility.js +4 -3
- package/dist/screen-visibility.js.map +1 -0
- package/dist/screen-wrap.js +6 -5
- package/dist/screen-wrap.js.map +1 -0
- package/dist/shooter-2d.js +6 -5
- package/dist/shooter-2d.js.map +1 -0
- package/dist/thruster.js +6 -5
- package/dist/thruster.js.map +1 -0
- package/dist/top-down-movement.js +8 -7
- package/dist/top-down-movement.js.map +1 -0
- package/dist/world-boundary-2d.js +7 -6
- package/dist/world-boundary-2d.js.map +1 -0
- package/dist/world-boundary-3d.js +7 -6
- package/dist/world-boundary-3d.js.map +1 -0
- package/package.json +161 -159
package/dist/index.js
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FirstPersonShooterCoordinator
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-H4TJ7X4O.js";
|
|
4
4
|
import {
|
|
5
5
|
MultidirectionalSpaceShooterCoordinator
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-NQPYMUDF.js";
|
|
7
7
|
import {
|
|
8
8
|
TopDownShooterCoordinator
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KIYUUSPK.js";
|
|
10
10
|
import {
|
|
11
11
|
fireShooter2DIfRequested
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-52FJIDGL.js";
|
|
13
13
|
import {
|
|
14
14
|
ScreenWrapBehavior,
|
|
15
15
|
ScreenWrapEvent,
|
|
16
16
|
ScreenWrapFSM,
|
|
17
17
|
ScreenWrapState
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-2PAHQZZD.js";
|
|
19
19
|
import {
|
|
20
20
|
Shooter2DBehavior,
|
|
21
21
|
createShooter2DStateComponent
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-PLIXVF7B.js";
|
|
23
23
|
import {
|
|
24
24
|
ThrusterBehavior,
|
|
25
25
|
ThrusterEvent,
|
|
26
26
|
ThrusterFSM,
|
|
27
27
|
ThrusterState
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-BAXJ7XHJ.js";
|
|
29
29
|
import {
|
|
30
30
|
createThrusterInputComponent,
|
|
31
31
|
createThrusterMovementComponent,
|
|
32
32
|
createThrusterStateComponent
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-IZJFUAXB.js";
|
|
34
34
|
import {
|
|
35
35
|
TopDownMovementBehavior
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-3QUECYMT.js";
|
|
37
37
|
import {
|
|
38
38
|
createTopDownMovementComponent,
|
|
39
39
|
createTopDownMovementInputComponent,
|
|
40
40
|
createTopDownMovementStateComponent
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-EIWQM6U3.js";
|
|
42
42
|
import {
|
|
43
43
|
getEntityFacingAngle2D,
|
|
44
44
|
resolveAim2D
|
|
45
|
-
} from "./chunk-
|
|
46
|
-
import "./chunk-
|
|
45
|
+
} from "./chunk-TBUKJKY6.js";
|
|
46
|
+
import "./chunk-SGHIGTVZ.js";
|
|
47
47
|
import {
|
|
48
48
|
WorldBoundary2DBehavior,
|
|
49
49
|
WorldBoundary2DEvent,
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
WorldBoundary2DState,
|
|
52
52
|
computeWorldBoundary2DHits,
|
|
53
53
|
hasAnyWorldBoundary2DHit
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-JACX7ZMJ.js";
|
|
55
55
|
import {
|
|
56
56
|
WorldBoundary3DBehavior,
|
|
57
57
|
WorldBoundary3DEvent,
|
|
@@ -59,25 +59,25 @@ import {
|
|
|
59
59
|
WorldBoundary3DState,
|
|
60
60
|
computeWorldBoundary3DHits,
|
|
61
61
|
hasAnyWorldBoundary3DHit
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-GL5JGXPR.js";
|
|
63
63
|
import {
|
|
64
64
|
BoundaryRicochetCoordinator
|
|
65
|
-
} from "./chunk-
|
|
66
|
-
import "./chunk-
|
|
65
|
+
} from "./chunk-NW4SE5XW.js";
|
|
66
|
+
import "./chunk-OPZ2LVS2.js";
|
|
67
67
|
import {
|
|
68
68
|
BoundaryRicochet3DCoordinator
|
|
69
|
-
} from "./chunk-
|
|
70
|
-
import "./chunk-
|
|
69
|
+
} from "./chunk-KFFETUAL.js";
|
|
70
|
+
import "./chunk-OHCPV2NT.js";
|
|
71
71
|
import {
|
|
72
72
|
updateBoundaryRicochet
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-LL4FLHIY.js";
|
|
74
74
|
import {
|
|
75
75
|
ParticleEmitterBehavior,
|
|
76
76
|
particlePresets
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-GLXEJD2P.js";
|
|
78
78
|
import {
|
|
79
79
|
particleEffect
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-USFIJUDN.js";
|
|
81
81
|
import {
|
|
82
82
|
Platformer2DBehavior,
|
|
83
83
|
Platformer2DEvent,
|
|
@@ -86,7 +86,7 @@ import {
|
|
|
86
86
|
createPlatformer2DInputComponent,
|
|
87
87
|
createPlatformer2DMovementComponent,
|
|
88
88
|
createPlatformer2DStateComponent
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-IRMJTAIK.js";
|
|
90
90
|
import {
|
|
91
91
|
Platformer3DBehavior,
|
|
92
92
|
Platformer3DEvent,
|
|
@@ -95,28 +95,28 @@ import {
|
|
|
95
95
|
createPlatformer3DInputComponent,
|
|
96
96
|
createPlatformer3DMovementComponent,
|
|
97
97
|
createPlatformer3DStateComponent
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-S5HFWDGM.js";
|
|
99
99
|
import {
|
|
100
100
|
Ricochet2DBehavior,
|
|
101
101
|
Ricochet2DEvent,
|
|
102
102
|
Ricochet2DFSM,
|
|
103
103
|
Ricochet2DState
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-D7N6SC4D.js";
|
|
105
105
|
import {
|
|
106
106
|
Ricochet3DBehavior,
|
|
107
107
|
Ricochet3DEvent,
|
|
108
108
|
Ricochet3DFSM,
|
|
109
109
|
Ricochet3DState
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-WQUPSOFV.js";
|
|
111
111
|
import {
|
|
112
112
|
ScreenVisibilityBehavior,
|
|
113
113
|
ScreenVisibilityFSM
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-WOMHL23C.js";
|
|
115
115
|
import {
|
|
116
116
|
createPhysicsBodyComponent,
|
|
117
117
|
createTransformComponent,
|
|
118
118
|
useBehavior
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-5A5AYP2C.js";
|
|
120
120
|
import {
|
|
121
121
|
CooldownBehavior,
|
|
122
122
|
fireCooldown,
|
|
@@ -125,26 +125,26 @@ import {
|
|
|
125
125
|
registerCooldown,
|
|
126
126
|
resetCooldown,
|
|
127
127
|
tickCooldowns
|
|
128
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-5XPPLTC7.js";
|
|
129
129
|
import {
|
|
130
130
|
Destructible3DBehavior,
|
|
131
131
|
DestructibleMesh,
|
|
132
132
|
FractureOptions
|
|
133
|
-
} from "./chunk-
|
|
134
|
-
import "./chunk-
|
|
133
|
+
} from "./chunk-JVADRLWX.js";
|
|
134
|
+
import "./chunk-HZMY3TT4.js";
|
|
135
135
|
import {
|
|
136
136
|
FirstPersonBehavior,
|
|
137
137
|
FirstPersonEvent,
|
|
138
138
|
FirstPersonFSM,
|
|
139
139
|
FirstPersonPresentation,
|
|
140
140
|
FirstPersonState
|
|
141
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-DGDNFX43.js";
|
|
142
142
|
import {
|
|
143
143
|
createFirstPersonInputComponent,
|
|
144
144
|
createFirstPersonMovementComponent,
|
|
145
145
|
createFirstPersonStateComponent
|
|
146
|
-
} from "./chunk-
|
|
147
|
-
import "./chunk-
|
|
146
|
+
} from "./chunk-QVCMJ4Q2.js";
|
|
147
|
+
import "./chunk-M3QDKKDF.js";
|
|
148
148
|
import {
|
|
149
149
|
Jumper2DBehavior,
|
|
150
150
|
Jumper2DEvent,
|
|
@@ -153,24 +153,24 @@ import {
|
|
|
153
153
|
createJumpConfig2D,
|
|
154
154
|
createJumpInput2D,
|
|
155
155
|
createJumpState2D
|
|
156
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-ZOYA3TZG.js";
|
|
157
157
|
import {
|
|
158
158
|
Jumper3DBehavior,
|
|
159
159
|
Jumper3DEvent,
|
|
160
160
|
Jumper3DFSM,
|
|
161
161
|
Jumper3DState
|
|
162
|
-
} from "./chunk-
|
|
162
|
+
} from "./chunk-DWVLGXMF.js";
|
|
163
163
|
import {
|
|
164
164
|
createJumpConfig3D,
|
|
165
165
|
createJumpInput3D,
|
|
166
166
|
createJumpState3D
|
|
167
|
-
} from "./chunk-
|
|
168
|
-
import "./chunk-
|
|
169
|
-
import "./chunk-
|
|
167
|
+
} from "./chunk-4WH2ZN7P.js";
|
|
168
|
+
import "./chunk-AS3HR7AS.js";
|
|
169
|
+
import "./chunk-4GW6DCYF.js";
|
|
170
170
|
import {
|
|
171
171
|
defineBehavior
|
|
172
|
-
} from "./chunk-
|
|
173
|
-
import "./chunk-
|
|
172
|
+
} from "./chunk-EZNCCO4L.js";
|
|
173
|
+
import "./chunk-5WRI5ZAA.js";
|
|
174
174
|
export {
|
|
175
175
|
BoundaryRicochet3DCoordinator,
|
|
176
176
|
BoundaryRicochetCoordinator,
|
|
@@ -274,3 +274,4 @@ export {
|
|
|
274
274
|
updateBoundaryRicochet,
|
|
275
275
|
useBehavior
|
|
276
276
|
};
|
|
277
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/jumper-2d.js
CHANGED
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
createJumpConfig2D,
|
|
7
7
|
createJumpInput2D,
|
|
8
8
|
createJumpState2D
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-ZOYA3TZG.js";
|
|
10
|
+
import "./chunk-AS3HR7AS.js";
|
|
11
|
+
import "./chunk-4GW6DCYF.js";
|
|
12
|
+
import "./chunk-EZNCCO4L.js";
|
|
13
|
+
import "./chunk-5WRI5ZAA.js";
|
|
14
14
|
export {
|
|
15
15
|
Jumper2DBehavior,
|
|
16
16
|
Jumper2DEvent,
|
|
@@ -20,3 +20,4 @@ export {
|
|
|
20
20
|
createJumpInput2D,
|
|
21
21
|
createJumpState2D
|
|
22
22
|
};
|
|
23
|
+
//# sourceMappingURL=jumper-2d.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/jumper-3d.js
CHANGED
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
Jumper3DEvent,
|
|
4
4
|
Jumper3DFSM,
|
|
5
5
|
Jumper3DState
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DWVLGXMF.js";
|
|
7
7
|
import {
|
|
8
8
|
createJumpConfig3D,
|
|
9
9
|
createJumpInput3D,
|
|
10
10
|
createJumpState3D
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-4WH2ZN7P.js";
|
|
12
|
+
import "./chunk-AS3HR7AS.js";
|
|
13
|
+
import "./chunk-4GW6DCYF.js";
|
|
14
|
+
import "./chunk-EZNCCO4L.js";
|
|
15
|
+
import "./chunk-5WRI5ZAA.js";
|
|
16
16
|
export {
|
|
17
17
|
Jumper3DBehavior,
|
|
18
18
|
Jumper3DEvent,
|
|
@@ -22,3 +22,4 @@ export {
|
|
|
22
22
|
createJumpInput3D,
|
|
23
23
|
createJumpState3D
|
|
24
24
|
};
|
|
25
|
+
//# sourceMappingURL=jumper-3d.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
gasPresets,
|
|
5
5
|
magicPresets,
|
|
6
6
|
waterPresets
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-USFIJUDN.js";
|
|
8
|
+
import "../chunk-5WRI5ZAA.js";
|
|
9
9
|
export {
|
|
10
10
|
electricityPresets,
|
|
11
11
|
firePresets,
|
|
@@ -13,3 +13,4 @@ export {
|
|
|
13
13
|
magicPresets,
|
|
14
14
|
waterPresets
|
|
15
15
|
};
|
|
16
|
+
//# sourceMappingURL=presets.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/particle-emitter.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ParticleEmitterBehavior,
|
|
3
3
|
particlePresets
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-GLXEJD2P.js";
|
|
5
5
|
import {
|
|
6
6
|
particleEffect
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-USFIJUDN.js";
|
|
8
|
+
import "./chunk-M3QDKKDF.js";
|
|
9
|
+
import "./chunk-EZNCCO4L.js";
|
|
10
|
+
import "./chunk-5WRI5ZAA.js";
|
|
11
11
|
export {
|
|
12
12
|
ParticleEmitterBehavior,
|
|
13
13
|
particleEffect,
|
|
14
14
|
particlePresets
|
|
15
15
|
};
|
|
16
|
+
//# sourceMappingURL=particle-emitter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/platformer-2d.js
CHANGED
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
createPlatformer2DInputComponent,
|
|
7
7
|
createPlatformer2DMovementComponent,
|
|
8
8
|
createPlatformer2DStateComponent
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-IRMJTAIK.js";
|
|
10
|
+
import "./chunk-AS3HR7AS.js";
|
|
11
|
+
import "./chunk-4GW6DCYF.js";
|
|
12
|
+
import "./chunk-EZNCCO4L.js";
|
|
13
|
+
import "./chunk-5WRI5ZAA.js";
|
|
14
14
|
export {
|
|
15
15
|
Platformer2DBehavior,
|
|
16
16
|
Platformer2DEvent,
|
|
@@ -20,3 +20,4 @@ export {
|
|
|
20
20
|
createPlatformer2DMovementComponent,
|
|
21
21
|
createPlatformer2DStateComponent
|
|
22
22
|
};
|
|
23
|
+
//# sourceMappingURL=platformer-2d.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/platformer-3d.js
CHANGED
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
createPlatformer3DInputComponent,
|
|
7
7
|
createPlatformer3DMovementComponent,
|
|
8
8
|
createPlatformer3DStateComponent
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-S5HFWDGM.js";
|
|
10
|
+
import "./chunk-AS3HR7AS.js";
|
|
11
|
+
import "./chunk-4GW6DCYF.js";
|
|
12
|
+
import "./chunk-EZNCCO4L.js";
|
|
13
|
+
import "./chunk-5WRI5ZAA.js";
|
|
14
14
|
export {
|
|
15
15
|
Platformer3DBehavior,
|
|
16
16
|
Platformer3DEvent,
|
|
@@ -20,3 +20,4 @@ export {
|
|
|
20
20
|
createPlatformer3DMovementComponent,
|
|
21
21
|
createPlatformer3DStateComponent
|
|
22
22
|
};
|
|
23
|
+
//# sourceMappingURL=platformer-3d.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/ricochet-2d.js
CHANGED
|
@@ -3,14 +3,15 @@ import {
|
|
|
3
3
|
Ricochet2DEvent,
|
|
4
4
|
Ricochet2DFSM,
|
|
5
5
|
Ricochet2DState
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-D7N6SC4D.js";
|
|
7
|
+
import "./chunk-AS3HR7AS.js";
|
|
8
|
+
import "./chunk-4GW6DCYF.js";
|
|
9
|
+
import "./chunk-EZNCCO4L.js";
|
|
10
|
+
import "./chunk-5WRI5ZAA.js";
|
|
11
11
|
export {
|
|
12
12
|
Ricochet2DBehavior,
|
|
13
13
|
Ricochet2DEvent,
|
|
14
14
|
Ricochet2DFSM,
|
|
15
15
|
Ricochet2DState
|
|
16
16
|
};
|
|
17
|
+
//# sourceMappingURL=ricochet-2d.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/ricochet-3d.js
CHANGED
|
@@ -3,14 +3,15 @@ import {
|
|
|
3
3
|
Ricochet3DEvent,
|
|
4
4
|
Ricochet3DFSM,
|
|
5
5
|
Ricochet3DState
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-WQUPSOFV.js";
|
|
7
|
+
import "./chunk-AS3HR7AS.js";
|
|
8
|
+
import "./chunk-4GW6DCYF.js";
|
|
9
|
+
import "./chunk-EZNCCO4L.js";
|
|
10
|
+
import "./chunk-5WRI5ZAA.js";
|
|
11
11
|
export {
|
|
12
12
|
Ricochet3DBehavior,
|
|
13
13
|
Ricochet3DEvent,
|
|
14
14
|
Ricochet3DFSM,
|
|
15
15
|
Ricochet3DState
|
|
16
16
|
};
|
|
17
|
+
//# sourceMappingURL=ricochet-3d.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/runtime-2d.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
defineBehavior
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-EZNCCO4L.js";
|
|
4
|
+
import "./chunk-5WRI5ZAA.js";
|
|
5
5
|
|
|
6
6
|
// src/lib/behaviors/runtime-2d/runtime-2d.descriptor.ts
|
|
7
7
|
var runtimeNoopSystemFactory = () => ({
|
|
@@ -153,3 +153,4 @@ export {
|
|
|
153
153
|
emitRuntimeRicochet,
|
|
154
154
|
emitRuntimeTriggerRegionEnter
|
|
155
155
|
};
|
|
156
|
+
//# sourceMappingURL=runtime-2d.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/lib/behaviors/runtime-2d/runtime-2d.descriptor.ts"],"sourcesContent":["/**\n * Runtime 2D Behavior Descriptors\n *\n * Marker descriptors for entities managed entirely by the wasm gameplay-2d\n * runtime (paddle-and-ball style games, boundaries, trigger regions, goal\n * zones). The descriptors carry configuration and event wiring only — all\n * per-frame simulation happens inside the wasm runtime, so their systems are\n * no-ops. The host runtime binds concrete callbacks onto the behavior refs\n * (see {@link bindRuntimeDynamicCircleBody2DHandle} and the emit helpers).\n */\n\nimport {\n\tdefineBehavior,\n\ttype BehaviorRef,\n} from '../behavior-descriptor';\nimport type { BehaviorSystem } from '../behavior-system';\n\nexport interface RuntimeDynamicCircleBody2DOptions {\n\tinitialVelocity: readonly [number, number];\n}\n\nexport interface RuntimeDynamicCircleBody2DHandle {\n\tsetRuntimePosition(x: number, y: number, z?: number): void;\n\tsetRuntimeVelocity(x: number, y: number): void;\n\tgetRuntimePosition(): { x: number; y: number; z: number } | null;\n}\n\nexport interface RuntimePlayerInput2DOptions {\n\tplayer: 'p1' | 'p2';\n\tspeed: number;\n}\n\nexport interface RuntimeBoundary2DOptions {\n\tboundaries: {\n\t\tleft: number;\n\t\tright: number;\n\t\tbottom: number;\n\t\ttop: number;\n\t};\n}\n\nexport interface RuntimeRicochet2DOptions {\n\tminSpeed: number;\n\tmaxSpeed: number;\n\tspeedMultiplier: number;\n\treflectionMode: 'simple' | 'angled';\n\tmaxAngleDeg: number;\n}\n\nexport interface RuntimeRicochet2DEvent {\n\tkind: 'wall' | 'paddle';\n}\n\nexport interface RuntimeRicochet2DHandle {\n\tonRicochet(callback: (event: RuntimeRicochet2DEvent) => void): () => void;\n}\n\n/** Registers a gameplay2d trigger AABB (sensor); wasm reports overlap via {@link emitRuntimeTriggerRegionEnter}. */\nexport interface RuntimeTriggerRegion2DOptions {\n\ttriggerId: number;\n\thalfExtents: readonly [number, number];\n}\n\nexport interface RuntimeTriggerRegion2DEvent {\n\ttriggerId: number;\n}\n\nexport interface RuntimeTriggerRegion2DHandle {\n\tonRegionEnter(callback: (event: RuntimeTriggerRegion2DEvent) => void): () => void;\n}\n\nexport interface RuntimeGoalZone2DOptions {\n\tscorer: 'p1' | 'p2';\n}\n\nexport interface RuntimeGoalZone2DEvent {\n\tscorer: 'p1' | 'p2';\n}\n\nexport interface RuntimeGoalZone2DHandle {\n\tonGoal(callback: (event: RuntimeGoalZone2DEvent) => void): () => void;\n}\n\nconst runtimeNoopSystemFactory = (): BehaviorSystem => ({\n\tupdate(_ecs: unknown, _delta: number) {},\n});\n\nexport const RUNTIME_DYNAMIC_CIRCLE_BODY_2D_BEHAVIOR_KEY = Symbol.for('zylem:behavior:runtime-dynamic-circle-body-2d');\nexport const RUNTIME_PLAYER_INPUT_2D_BEHAVIOR_KEY = Symbol.for('zylem:behavior:runtime-player-input-2d');\nexport const RUNTIME_BOUNDARY_2D_BEHAVIOR_KEY = Symbol.for('zylem:behavior:runtime-boundary-2d');\nexport const RUNTIME_RICOCHET_2D_BEHAVIOR_KEY = Symbol.for('zylem:behavior:runtime-ricochet-2d');\nexport const RUNTIME_TRIGGER_REGION_2D_BEHAVIOR_KEY = Symbol.for('zylem:behavior:runtime-trigger-region-2d');\nexport const RUNTIME_GOAL_ZONE_2D_BEHAVIOR_KEY = Symbol.for('zylem:behavior:runtime-goal-zone-2d');\n\nconst RICOCHET_LISTENERS = Symbol('runtime-ricochet-listeners');\nconst TRIGGER_REGION_LISTENERS = Symbol('runtime-trigger-region-listeners');\nconst GOAL_LISTENERS = Symbol('runtime-goal-listeners');\nconst CIRCLE_BODY_SET_POSITION = Symbol('runtime-circle-body-set-position');\nconst CIRCLE_BODY_SET_VELOCITY = Symbol('runtime-circle-body-set-velocity');\nconst CIRCLE_BODY_GET_POSITION = Symbol('runtime-circle-body-get-position');\n\nfunction getListeners<E>(ref: BehaviorRef<any>, slot: symbol): Array<(event: E) => void> {\n\tlet listeners = (ref as any)[slot] as Array<(event: E) => void> | undefined;\n\tif (!listeners) {\n\t\tlisteners = [];\n\t\t(ref as any)[slot] = listeners;\n\t}\n\treturn listeners;\n}\n\nfunction addListener<E>(ref: BehaviorRef<any>, slot: symbol, callback: (event: E) => void): () => void {\n\tconst listeners = getListeners<E>(ref, slot);\n\tlisteners.push(callback);\n\treturn () => {\n\t\tconst index = listeners.indexOf(callback);\n\t\tif (index >= 0) {\n\t\t\tlisteners.splice(index, 1);\n\t\t}\n\t};\n}\n\nfunction emit<E>(ref: BehaviorRef<any>, slot: symbol, event: E): void {\n\tconst listeners = (ref as any)[slot] as Array<(event: E) => void> | undefined;\n\tif (!listeners) return;\n\tfor (const listener of listeners) {\n\t\tlistener(event);\n\t}\n}\n\nexport const RuntimeDynamicCircleBody2DBehavior = defineBehavior<\n\tRuntimeDynamicCircleBody2DOptions,\n\tRuntimeDynamicCircleBody2DHandle\n>({\n\tname: 'runtime-dynamic-circle-body-2d',\n\tdefaultOptions: {\n\t\tinitialVelocity: [0, 0] as [number, number],\n\t},\n\tsystemFactory: runtimeNoopSystemFactory,\n\tcreateHandle: (ref: BehaviorRef<RuntimeDynamicCircleBody2DOptions>) => ({\n\t\tsetRuntimePosition(x: number, y: number, z: number = 0): void {\n\t\t\tconst callback = (ref as any)[CIRCLE_BODY_SET_POSITION] as\n\t\t\t\t| ((x: number, y: number, z: number) => void)\n\t\t\t\t| undefined;\n\t\t\tcallback?.(x, y, z);\n\t\t},\n\t\tsetRuntimeVelocity(x: number, y: number): void {\n\t\t\tconst callback = (ref as any)[CIRCLE_BODY_SET_VELOCITY] as\n\t\t\t\t| ((x: number, y: number) => void)\n\t\t\t\t| undefined;\n\t\t\tcallback?.(x, y);\n\t\t},\n\t\tgetRuntimePosition(): { x: number; y: number; z: number } | null {\n\t\t\tconst callback = (ref as any)[CIRCLE_BODY_GET_POSITION] as\n\t\t\t\t| (() => { x: number; y: number; z: number } | null)\n\t\t\t\t| undefined;\n\t\t\treturn callback?.() ?? null;\n\t\t},\n\t}),\n});\n\nexport const RuntimePlayerInput2DBehavior = defineBehavior<RuntimePlayerInput2DOptions>({\n\tname: 'runtime-player-input-2d',\n\tdefaultOptions: {\n\t\tplayer: 'p1',\n\t\tspeed: 5,\n\t} as RuntimePlayerInput2DOptions,\n\tsystemFactory: runtimeNoopSystemFactory,\n});\n\nexport const RuntimeBoundary2DBehavior = defineBehavior({\n\tname: 'runtime-boundary-2d',\n\tdefaultOptions: {\n\t\tboundaries: {\n\t\t\tleft: 0,\n\t\t\tright: 0,\n\t\t\tbottom: 0,\n\t\t\ttop: 0,\n\t\t},\n\t},\n\tsystemFactory: runtimeNoopSystemFactory,\n});\n\nexport const RuntimeRicochet2DBehavior = defineBehavior<\n\tRuntimeRicochet2DOptions,\n\tRuntimeRicochet2DHandle\n>({\n\tname: 'runtime-ricochet-2d',\n\tdefaultOptions: {\n\t\tminSpeed: 2,\n\t\tmaxSpeed: 20,\n\t\tspeedMultiplier: 1.05,\n\t\treflectionMode: 'angled' as const,\n\t\tmaxAngleDeg: 60,\n\t},\n\tsystemFactory: runtimeNoopSystemFactory,\n\tcreateHandle: (ref: BehaviorRef<RuntimeRicochet2DOptions>) => ({\n\t\tonRicochet: (callback: (event: RuntimeRicochet2DEvent) => void) =>\n\t\t\taddListener(ref, RICOCHET_LISTENERS, callback),\n\t}),\n});\n\nexport const RuntimeTriggerRegion2DBehavior = defineBehavior<\n\tRuntimeTriggerRegion2DOptions,\n\tRuntimeTriggerRegion2DHandle\n>({\n\tname: 'runtime-trigger-region-2d',\n\tdefaultOptions: {\n\t\ttriggerId: 0,\n\t\thalfExtents: [0.5, 2.5] as [number, number],\n\t},\n\tsystemFactory: runtimeNoopSystemFactory,\n\tcreateHandle: (ref: BehaviorRef<RuntimeTriggerRegion2DOptions>) => ({\n\t\tonRegionEnter: (callback: (event: RuntimeTriggerRegion2DEvent) => void) =>\n\t\t\taddListener(ref, TRIGGER_REGION_LISTENERS, callback),\n\t}),\n});\n\nexport const RuntimeGoalZone2DBehavior = defineBehavior<\n\tRuntimeGoalZone2DOptions,\n\tRuntimeGoalZone2DHandle\n>({\n\tname: 'runtime-goal-zone-2d',\n\tdefaultOptions: {\n\t\tscorer: 'p1',\n\t} as RuntimeGoalZone2DOptions,\n\tsystemFactory: runtimeNoopSystemFactory,\n\tcreateHandle: (ref: BehaviorRef<RuntimeGoalZone2DOptions>) => ({\n\t\tonGoal: (callback: (event: RuntimeGoalZone2DEvent) => void) =>\n\t\t\taddListener(ref, GOAL_LISTENERS, callback),\n\t}),\n});\n\nexport function emitRuntimeRicochet(\n\tref: BehaviorRef<RuntimeRicochet2DOptions>,\n\tevent: RuntimeRicochet2DEvent,\n): void {\n\temit(ref, RICOCHET_LISTENERS, event);\n}\n\nexport function emitRuntimeTriggerRegionEnter(\n\tref: BehaviorRef<RuntimeTriggerRegion2DOptions>,\n\tevent: RuntimeTriggerRegion2DEvent,\n): void {\n\temit(ref, TRIGGER_REGION_LISTENERS, event);\n}\n\nexport function emitRuntimeGoal(\n\tref: BehaviorRef<RuntimeGoalZone2DOptions>,\n\tevent: RuntimeGoalZone2DEvent,\n): void {\n\temit(ref, GOAL_LISTENERS, event);\n}\n\nexport function bindRuntimeDynamicCircleBody2DHandle(\n\tref: BehaviorRef<RuntimeDynamicCircleBody2DOptions>,\n\tcontrols: {\n\t\tsetPosition: (x: number, y: number, z: number) => void;\n\t\tsetVelocity: (x: number, y: number) => void;\n\t\tgetPosition: () => { x: number; y: number; z: number } | null;\n\t},\n): void {\n\t(ref as any)[CIRCLE_BODY_SET_POSITION] = controls.setPosition;\n\t(ref as any)[CIRCLE_BODY_SET_VELOCITY] = controls.setVelocity;\n\t(ref as any)[CIRCLE_BODY_GET_POSITION] = controls.getPosition;\n}\n"],"mappings":"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","names":[]}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ScreenVisibilityBehavior,
|
|
3
3
|
ScreenVisibilityFSM
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-WOMHL23C.js";
|
|
5
|
+
import "./chunk-EZNCCO4L.js";
|
|
6
|
+
import "./chunk-5WRI5ZAA.js";
|
|
7
7
|
export {
|
|
8
8
|
ScreenVisibilityBehavior,
|
|
9
9
|
ScreenVisibilityFSM
|
|
10
10
|
};
|
|
11
|
+
//# sourceMappingURL=screen-visibility.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/screen-wrap.js
CHANGED
|
@@ -3,14 +3,15 @@ import {
|
|
|
3
3
|
ScreenWrapEvent,
|
|
4
4
|
ScreenWrapFSM,
|
|
5
5
|
ScreenWrapState
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-2PAHQZZD.js";
|
|
7
|
+
import "./chunk-OPZ2LVS2.js";
|
|
8
|
+
import "./chunk-AS3HR7AS.js";
|
|
9
|
+
import "./chunk-EZNCCO4L.js";
|
|
10
|
+
import "./chunk-5WRI5ZAA.js";
|
|
11
11
|
export {
|
|
12
12
|
ScreenWrapBehavior,
|
|
13
13
|
ScreenWrapEvent,
|
|
14
14
|
ScreenWrapFSM,
|
|
15
15
|
ScreenWrapState
|
|
16
16
|
};
|
|
17
|
+
//# sourceMappingURL=screen-wrap.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/shooter-2d.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Shooter2DBehavior,
|
|
3
3
|
createShooter2DStateComponent
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-PLIXVF7B.js";
|
|
5
|
+
import "./chunk-SGHIGTVZ.js";
|
|
6
|
+
import "./chunk-M3QDKKDF.js";
|
|
7
|
+
import "./chunk-EZNCCO4L.js";
|
|
8
|
+
import "./chunk-5WRI5ZAA.js";
|
|
9
9
|
export {
|
|
10
10
|
Shooter2DBehavior,
|
|
11
11
|
createShooter2DStateComponent
|
|
12
12
|
};
|
|
13
|
+
//# sourceMappingURL=shooter-2d.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/thruster.js
CHANGED
|
@@ -3,15 +3,15 @@ import {
|
|
|
3
3
|
ThrusterEvent,
|
|
4
4
|
ThrusterFSM,
|
|
5
5
|
ThrusterState
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BAXJ7XHJ.js";
|
|
7
7
|
import {
|
|
8
8
|
createThrusterInputComponent,
|
|
9
9
|
createThrusterMovementComponent,
|
|
10
10
|
createThrusterStateComponent
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-IZJFUAXB.js";
|
|
12
|
+
import "./chunk-AS3HR7AS.js";
|
|
13
|
+
import "./chunk-EZNCCO4L.js";
|
|
14
|
+
import "./chunk-5WRI5ZAA.js";
|
|
15
15
|
export {
|
|
16
16
|
ThrusterBehavior,
|
|
17
17
|
ThrusterEvent,
|
|
@@ -21,3 +21,4 @@ export {
|
|
|
21
21
|
createThrusterMovementComponent,
|
|
22
22
|
createThrusterStateComponent
|
|
23
23
|
};
|
|
24
|
+
//# sourceMappingURL=thruster.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TopDownMovementBehavior
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3QUECYMT.js";
|
|
4
4
|
import {
|
|
5
5
|
createTopDownMovementComponent,
|
|
6
6
|
createTopDownMovementInputComponent,
|
|
7
7
|
createTopDownMovementStateComponent
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-EIWQM6U3.js";
|
|
9
|
+
import "./chunk-TBUKJKY6.js";
|
|
10
|
+
import "./chunk-SGHIGTVZ.js";
|
|
11
|
+
import "./chunk-4GW6DCYF.js";
|
|
12
|
+
import "./chunk-EZNCCO4L.js";
|
|
13
|
+
import "./chunk-5WRI5ZAA.js";
|
|
14
14
|
export {
|
|
15
15
|
TopDownMovementBehavior,
|
|
16
16
|
createTopDownMovementComponent,
|
|
17
17
|
createTopDownMovementInputComponent,
|
|
18
18
|
createTopDownMovementStateComponent
|
|
19
19
|
};
|
|
20
|
+
//# sourceMappingURL=top-down-movement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
WorldBoundary2DState,
|
|
6
6
|
computeWorldBoundary2DHits,
|
|
7
7
|
hasAnyWorldBoundary2DHit
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-JACX7ZMJ.js";
|
|
9
|
+
import "./chunk-OPZ2LVS2.js";
|
|
10
|
+
import "./chunk-AS3HR7AS.js";
|
|
11
|
+
import "./chunk-4GW6DCYF.js";
|
|
12
|
+
import "./chunk-EZNCCO4L.js";
|
|
13
|
+
import "./chunk-5WRI5ZAA.js";
|
|
14
14
|
export {
|
|
15
15
|
WorldBoundary2DBehavior,
|
|
16
16
|
WorldBoundary2DEvent,
|
|
@@ -19,3 +19,4 @@ export {
|
|
|
19
19
|
computeWorldBoundary2DHits,
|
|
20
20
|
hasAnyWorldBoundary2DHit
|
|
21
21
|
};
|
|
22
|
+
//# sourceMappingURL=world-boundary-2d.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
WorldBoundary3DState,
|
|
6
6
|
computeWorldBoundary3DHits,
|
|
7
7
|
hasAnyWorldBoundary3DHit
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-GL5JGXPR.js";
|
|
9
|
+
import "./chunk-OHCPV2NT.js";
|
|
10
|
+
import "./chunk-AS3HR7AS.js";
|
|
11
|
+
import "./chunk-4GW6DCYF.js";
|
|
12
|
+
import "./chunk-EZNCCO4L.js";
|
|
13
|
+
import "./chunk-5WRI5ZAA.js";
|
|
14
14
|
export {
|
|
15
15
|
WorldBoundary3DBehavior,
|
|
16
16
|
WorldBoundary3DEvent,
|
|
@@ -19,3 +19,4 @@ export {
|
|
|
19
19
|
computeWorldBoundary3DHits,
|
|
20
20
|
hasAnyWorldBoundary3DHit
|
|
21
21
|
};
|
|
22
|
+
//# sourceMappingURL=world-boundary-3d.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|