vue-phaserjs 1.28.0 → 1.29.0

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.
Files changed (32) hide show
  1. package/LICENSE +201 -201
  2. package/README.md +43 -43
  3. package/dist/components/Circle.vue.d.ts +4 -4
  4. package/dist/components/Container.vue.d.ts +4 -4
  5. package/dist/components/Image.vue.d.ts +8 -8
  6. package/dist/components/Nineslice.vue.d.ts +4 -4
  7. package/dist/components/PathFollower.vue.d.ts +8 -8
  8. package/dist/components/Rectangle.vue.d.ts +8 -8
  9. package/dist/components/Sprite.vue.d.ts +8 -8
  10. package/dist/components/Text.vue.d.ts +10 -10
  11. package/dist/components/Zone.vue.d.ts +8 -8
  12. package/dist/index.js +4 -4
  13. package/dist/models/configuration/ArcConfiguration.d.ts +2 -2
  14. package/dist/models/configuration/RectangleConfiguration.d.ts +2 -2
  15. package/dist/models/configuration/TextConfiguration.d.ts +2 -2
  16. package/dist/models/configuration/ZoneConfiguration.d.ts +2 -2
  17. package/dist/models/configuration/components/OriginConfiguration.d.ts +2 -2
  18. package/dist/models/configuration/components/ScrollFactorConfiguration.d.ts +2 -2
  19. package/dist/models/configuration/shared/ShapeConfiguration.d.ts +2 -2
  20. package/dist/models/emit/ArcEventEmitsOptions.d.ts +2 -2
  21. package/dist/models/emit/ContainerEventEmitsOptions.d.ts +2 -2
  22. package/dist/models/emit/ImageEventEmitsOptions.d.ts +2 -2
  23. package/dist/models/emit/NineSliceEventEmitsOptions.d.ts +2 -2
  24. package/dist/models/emit/PathFollowerEventEmitsOptions.d.ts +2 -2
  25. package/dist/models/emit/RectangleEventEmitsOptions.d.ts +2 -2
  26. package/dist/models/emit/SpriteEventEmitsOptions.d.ts +2 -2
  27. package/dist/models/emit/TextEventEmitsOptions.d.ts +2 -2
  28. package/dist/models/emit/TileSpriteEventEmitsOptions.d.ts +2 -2
  29. package/dist/models/emit/ZoneEventEmitsOptions.d.ts +2 -2
  30. package/dist/models/keys/AnimationKey.d.ts +1 -1
  31. package/dist/utils/setterMap/shared/AnimationSetterMap.d.ts +1 -1
  32. package/package.json +6 -6
@@ -19,14 +19,14 @@ declare const _default: import('vue').DefineComponent<NineSliceProps, {}, {}, {}
19
19
  pointerup: (...args: Phaser.Types.Input.EventData[]) => any;
20
20
  wheel: (...args: Phaser.Types.Input.EventData[]) => any;
21
21
  "update:depth": (args_0?: number | undefined) => any;
22
- "update:origin": (args_0?: number | undefined) => any;
23
22
  "update:originX": (args_0?: number | undefined) => any;
24
23
  "update:originY": (args_0?: number | undefined) => any;
25
24
  "update:displayOriginX": (args_0?: number | undefined) => any;
26
25
  "update:displayOriginY": (args_0?: number | undefined) => any;
27
- "update:scrollFactor": (args_0?: number | undefined) => any;
26
+ "update:origin": (args_0?: number | undefined) => any;
28
27
  "update:scrollFactorX": (args_0?: number | undefined) => any;
29
28
  "update:scrollFactorY": (args_0?: number | undefined) => any;
29
+ "update:scrollFactor": (args_0?: number | undefined) => any;
30
30
  "update:hasTransformComponent": (args_0?: boolean | undefined) => any;
31
31
  "update:x": (args_0?: number | undefined) => any;
32
32
  "update:y": (args_0?: number | undefined) => any;
@@ -156,14 +156,14 @@ declare const _default: import('vue').DefineComponent<NineSliceProps, {}, {}, {}
156
156
  onPointerup?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
157
157
  onWheel?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
158
158
  "onUpdate:depth"?: ((args_0?: number | undefined) => any) | undefined;
159
- "onUpdate:origin"?: ((args_0?: number | undefined) => any) | undefined;
160
159
  "onUpdate:originX"?: ((args_0?: number | undefined) => any) | undefined;
161
160
  "onUpdate:originY"?: ((args_0?: number | undefined) => any) | undefined;
162
161
  "onUpdate:displayOriginX"?: ((args_0?: number | undefined) => any) | undefined;
163
162
  "onUpdate:displayOriginY"?: ((args_0?: number | undefined) => any) | undefined;
164
- "onUpdate:scrollFactor"?: ((args_0?: number | undefined) => any) | undefined;
163
+ "onUpdate:origin"?: ((args_0?: number | undefined) => any) | undefined;
165
164
  "onUpdate:scrollFactorX"?: ((args_0?: number | undefined) => any) | undefined;
166
165
  "onUpdate:scrollFactorY"?: ((args_0?: number | undefined) => any) | undefined;
166
+ "onUpdate:scrollFactor"?: ((args_0?: number | undefined) => any) | undefined;
167
167
  "onUpdate:hasTransformComponent"?: ((args_0?: boolean | undefined) => any) | undefined;
168
168
  "onUpdate:x"?: ((args_0?: number | undefined) => any) | undefined;
169
169
  "onUpdate:y"?: ((args_0?: number | undefined) => any) | undefined;
@@ -22,14 +22,14 @@ declare const _default: import('vue').DefineComponent<PathFollowerProps, {}, {},
22
22
  pointerup: (...args: Phaser.Types.Input.EventData[]) => any;
23
23
  wheel: (...args: Phaser.Types.Input.EventData[]) => any;
24
24
  "update:depth": (args_0?: number | undefined) => any;
25
- "update:origin": (args_0?: number | undefined) => any;
26
25
  "update:originX": (args_0?: number | undefined) => any;
27
26
  "update:originY": (args_0?: number | undefined) => any;
28
27
  "update:displayOriginX": (args_0?: number | undefined) => any;
29
28
  "update:displayOriginY": (args_0?: number | undefined) => any;
30
- "update:scrollFactor": (args_0?: number | undefined) => any;
29
+ "update:origin": (args_0?: number | undefined) => any;
31
30
  "update:scrollFactorX": (args_0?: number | undefined) => any;
32
31
  "update:scrollFactorY": (args_0?: number | undefined) => any;
32
+ "update:scrollFactor": (args_0?: number | undefined) => any;
33
33
  "update:hasTransformComponent": (args_0?: boolean | undefined) => any;
34
34
  "update:x": (args_0?: number | undefined) => any;
35
35
  "update:y": (args_0?: number | undefined) => any;
@@ -42,10 +42,10 @@ declare const _default: import('vue').DefineComponent<PathFollowerProps, {}, {},
42
42
  "update:rotation": (args_0?: number | undefined) => any;
43
43
  "update:visible": (args_0?: boolean | undefined) => any;
44
44
  "update:active": (args_0?: boolean | undefined) => any;
45
- "update:displayHeight": (args_0?: number | undefined) => any;
46
- "update:displayWidth": (args_0?: number | undefined) => any;
47
45
  "update:width": (args_0?: number | undefined) => any;
48
46
  "update:height": (args_0?: number | undefined) => any;
47
+ "update:displayHeight": (args_0?: number | undefined) => any;
48
+ "update:displayWidth": (args_0?: number | undefined) => any;
49
49
  "update:tween": (args_0?: {
50
50
  [x: string]: any;
51
51
  delay?: (number | Function) | undefined;
@@ -177,14 +177,14 @@ declare const _default: import('vue').DefineComponent<PathFollowerProps, {}, {},
177
177
  onPointerup?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
178
178
  onWheel?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
179
179
  "onUpdate:depth"?: ((args_0?: number | undefined) => any) | undefined;
180
- "onUpdate:origin"?: ((args_0?: number | undefined) => any) | undefined;
181
180
  "onUpdate:originX"?: ((args_0?: number | undefined) => any) | undefined;
182
181
  "onUpdate:originY"?: ((args_0?: number | undefined) => any) | undefined;
183
182
  "onUpdate:displayOriginX"?: ((args_0?: number | undefined) => any) | undefined;
184
183
  "onUpdate:displayOriginY"?: ((args_0?: number | undefined) => any) | undefined;
185
- "onUpdate:scrollFactor"?: ((args_0?: number | undefined) => any) | undefined;
184
+ "onUpdate:origin"?: ((args_0?: number | undefined) => any) | undefined;
186
185
  "onUpdate:scrollFactorX"?: ((args_0?: number | undefined) => any) | undefined;
187
186
  "onUpdate:scrollFactorY"?: ((args_0?: number | undefined) => any) | undefined;
187
+ "onUpdate:scrollFactor"?: ((args_0?: number | undefined) => any) | undefined;
188
188
  "onUpdate:hasTransformComponent"?: ((args_0?: boolean | undefined) => any) | undefined;
189
189
  "onUpdate:x"?: ((args_0?: number | undefined) => any) | undefined;
190
190
  "onUpdate:y"?: ((args_0?: number | undefined) => any) | undefined;
@@ -197,10 +197,10 @@ declare const _default: import('vue').DefineComponent<PathFollowerProps, {}, {},
197
197
  "onUpdate:rotation"?: ((args_0?: number | undefined) => any) | undefined;
198
198
  "onUpdate:visible"?: ((args_0?: boolean | undefined) => any) | undefined;
199
199
  "onUpdate:active"?: ((args_0?: boolean | undefined) => any) | undefined;
200
- "onUpdate:displayHeight"?: ((args_0?: number | undefined) => any) | undefined;
201
- "onUpdate:displayWidth"?: ((args_0?: number | undefined) => any) | undefined;
202
200
  "onUpdate:width"?: ((args_0?: number | undefined) => any) | undefined;
203
201
  "onUpdate:height"?: ((args_0?: number | undefined) => any) | undefined;
202
+ "onUpdate:displayHeight"?: ((args_0?: number | undefined) => any) | undefined;
203
+ "onUpdate:displayWidth"?: ((args_0?: number | undefined) => any) | undefined;
204
204
  "onUpdate:tween"?: ((args_0?: {
205
205
  [x: string]: any;
206
206
  delay?: (number | Function) | undefined;
@@ -22,14 +22,14 @@ declare const _default: import('vue').DefineComponent<RectangleProps, {}, {}, {}
22
22
  pointerup: (...args: Phaser.Types.Input.EventData[]) => any;
23
23
  wheel: (...args: Phaser.Types.Input.EventData[]) => any;
24
24
  "update:depth": (args_0?: number | undefined) => any;
25
- "update:origin": (args_0?: number | undefined) => any;
26
25
  "update:originX": (args_0?: number | undefined) => any;
27
26
  "update:originY": (args_0?: number | undefined) => any;
28
27
  "update:displayOriginX": (args_0?: number | undefined) => any;
29
28
  "update:displayOriginY": (args_0?: number | undefined) => any;
30
- "update:scrollFactor": (args_0?: number | undefined) => any;
29
+ "update:origin": (args_0?: number | undefined) => any;
31
30
  "update:scrollFactorX": (args_0?: number | undefined) => any;
32
31
  "update:scrollFactorY": (args_0?: number | undefined) => any;
32
+ "update:scrollFactor": (args_0?: number | undefined) => any;
33
33
  "update:hasTransformComponent": (args_0?: boolean | undefined) => any;
34
34
  "update:x": (args_0?: number | undefined) => any;
35
35
  "update:y": (args_0?: number | undefined) => any;
@@ -42,10 +42,10 @@ declare const _default: import('vue').DefineComponent<RectangleProps, {}, {}, {}
42
42
  "update:rotation": (args_0?: number | undefined) => any;
43
43
  "update:visible": (args_0?: boolean | undefined) => any;
44
44
  "update:active": (args_0?: boolean | undefined) => any;
45
- "update:displayHeight": (args_0?: number | undefined) => any;
46
- "update:displayWidth": (args_0?: number | undefined) => any;
47
45
  "update:width": (args_0?: number | undefined) => any;
48
46
  "update:height": (args_0?: number | undefined) => any;
47
+ "update:displayHeight": (args_0?: number | undefined) => any;
48
+ "update:displayWidth": (args_0?: number | undefined) => any;
49
49
  "update:tween": (args_0?: {
50
50
  [x: string]: any;
51
51
  delay?: (number | Function) | undefined;
@@ -157,14 +157,14 @@ declare const _default: import('vue').DefineComponent<RectangleProps, {}, {}, {}
157
157
  onPointerup?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
158
158
  onWheel?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
159
159
  "onUpdate:depth"?: ((args_0?: number | undefined) => any) | undefined;
160
- "onUpdate:origin"?: ((args_0?: number | undefined) => any) | undefined;
161
160
  "onUpdate:originX"?: ((args_0?: number | undefined) => any) | undefined;
162
161
  "onUpdate:originY"?: ((args_0?: number | undefined) => any) | undefined;
163
162
  "onUpdate:displayOriginX"?: ((args_0?: number | undefined) => any) | undefined;
164
163
  "onUpdate:displayOriginY"?: ((args_0?: number | undefined) => any) | undefined;
165
- "onUpdate:scrollFactor"?: ((args_0?: number | undefined) => any) | undefined;
164
+ "onUpdate:origin"?: ((args_0?: number | undefined) => any) | undefined;
166
165
  "onUpdate:scrollFactorX"?: ((args_0?: number | undefined) => any) | undefined;
167
166
  "onUpdate:scrollFactorY"?: ((args_0?: number | undefined) => any) | undefined;
167
+ "onUpdate:scrollFactor"?: ((args_0?: number | undefined) => any) | undefined;
168
168
  "onUpdate:hasTransformComponent"?: ((args_0?: boolean | undefined) => any) | undefined;
169
169
  "onUpdate:x"?: ((args_0?: number | undefined) => any) | undefined;
170
170
  "onUpdate:y"?: ((args_0?: number | undefined) => any) | undefined;
@@ -177,10 +177,10 @@ declare const _default: import('vue').DefineComponent<RectangleProps, {}, {}, {}
177
177
  "onUpdate:rotation"?: ((args_0?: number | undefined) => any) | undefined;
178
178
  "onUpdate:visible"?: ((args_0?: boolean | undefined) => any) | undefined;
179
179
  "onUpdate:active"?: ((args_0?: boolean | undefined) => any) | undefined;
180
- "onUpdate:displayHeight"?: ((args_0?: number | undefined) => any) | undefined;
181
- "onUpdate:displayWidth"?: ((args_0?: number | undefined) => any) | undefined;
182
180
  "onUpdate:width"?: ((args_0?: number | undefined) => any) | undefined;
183
181
  "onUpdate:height"?: ((args_0?: number | undefined) => any) | undefined;
182
+ "onUpdate:displayHeight"?: ((args_0?: number | undefined) => any) | undefined;
183
+ "onUpdate:displayWidth"?: ((args_0?: number | undefined) => any) | undefined;
184
184
  "onUpdate:tween"?: ((args_0?: {
185
185
  [x: string]: any;
186
186
  delay?: (number | Function) | undefined;
@@ -23,14 +23,14 @@ declare const _default: import('vue').DefineComponent<SpriteProps, {}, {}, {}, {
23
23
  pointerup: (...args: Phaser.Types.Input.EventData[]) => any;
24
24
  wheel: (...args: Phaser.Types.Input.EventData[]) => any;
25
25
  "update:depth": (args_0?: number | undefined) => any;
26
- "update:origin": (args_0?: number | undefined) => any;
27
26
  "update:originX": (args_0?: number | undefined) => any;
28
27
  "update:originY": (args_0?: number | undefined) => any;
29
28
  "update:displayOriginX": (args_0?: number | undefined) => any;
30
29
  "update:displayOriginY": (args_0?: number | undefined) => any;
31
- "update:scrollFactor": (args_0?: number | undefined) => any;
30
+ "update:origin": (args_0?: number | undefined) => any;
32
31
  "update:scrollFactorX": (args_0?: number | undefined) => any;
33
32
  "update:scrollFactorY": (args_0?: number | undefined) => any;
33
+ "update:scrollFactor": (args_0?: number | undefined) => any;
34
34
  "update:hasTransformComponent": (args_0?: boolean | undefined) => any;
35
35
  "update:x": (args_0?: number | undefined) => any;
36
36
  "update:y": (args_0?: number | undefined) => any;
@@ -43,10 +43,10 @@ declare const _default: import('vue').DefineComponent<SpriteProps, {}, {}, {}, {
43
43
  "update:rotation": (args_0?: number | undefined) => any;
44
44
  "update:visible": (args_0?: boolean | undefined) => any;
45
45
  "update:active": (args_0?: boolean | undefined) => any;
46
- "update:displayHeight": (args_0?: number | undefined) => any;
47
- "update:displayWidth": (args_0?: number | undefined) => any;
48
46
  "update:width": (args_0?: number | undefined) => any;
49
47
  "update:height": (args_0?: number | undefined) => any;
48
+ "update:displayHeight": (args_0?: number | undefined) => any;
49
+ "update:displayWidth": (args_0?: number | undefined) => any;
50
50
  "update:tween": (args_0?: {
51
51
  [x: string]: any;
52
52
  delay?: (number | Function) | undefined;
@@ -174,14 +174,14 @@ declare const _default: import('vue').DefineComponent<SpriteProps, {}, {}, {}, {
174
174
  onPointerup?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
175
175
  onWheel?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
176
176
  "onUpdate:depth"?: ((args_0?: number | undefined) => any) | undefined;
177
- "onUpdate:origin"?: ((args_0?: number | undefined) => any) | undefined;
178
177
  "onUpdate:originX"?: ((args_0?: number | undefined) => any) | undefined;
179
178
  "onUpdate:originY"?: ((args_0?: number | undefined) => any) | undefined;
180
179
  "onUpdate:displayOriginX"?: ((args_0?: number | undefined) => any) | undefined;
181
180
  "onUpdate:displayOriginY"?: ((args_0?: number | undefined) => any) | undefined;
182
- "onUpdate:scrollFactor"?: ((args_0?: number | undefined) => any) | undefined;
181
+ "onUpdate:origin"?: ((args_0?: number | undefined) => any) | undefined;
183
182
  "onUpdate:scrollFactorX"?: ((args_0?: number | undefined) => any) | undefined;
184
183
  "onUpdate:scrollFactorY"?: ((args_0?: number | undefined) => any) | undefined;
184
+ "onUpdate:scrollFactor"?: ((args_0?: number | undefined) => any) | undefined;
185
185
  "onUpdate:hasTransformComponent"?: ((args_0?: boolean | undefined) => any) | undefined;
186
186
  "onUpdate:x"?: ((args_0?: number | undefined) => any) | undefined;
187
187
  "onUpdate:y"?: ((args_0?: number | undefined) => any) | undefined;
@@ -194,10 +194,10 @@ declare const _default: import('vue').DefineComponent<SpriteProps, {}, {}, {}, {
194
194
  "onUpdate:rotation"?: ((args_0?: number | undefined) => any) | undefined;
195
195
  "onUpdate:visible"?: ((args_0?: boolean | undefined) => any) | undefined;
196
196
  "onUpdate:active"?: ((args_0?: boolean | undefined) => any) | undefined;
197
- "onUpdate:displayHeight"?: ((args_0?: number | undefined) => any) | undefined;
198
- "onUpdate:displayWidth"?: ((args_0?: number | undefined) => any) | undefined;
199
197
  "onUpdate:width"?: ((args_0?: number | undefined) => any) | undefined;
200
198
  "onUpdate:height"?: ((args_0?: number | undefined) => any) | undefined;
199
+ "onUpdate:displayHeight"?: ((args_0?: number | undefined) => any) | undefined;
200
+ "onUpdate:displayWidth"?: ((args_0?: number | undefined) => any) | undefined;
201
201
  "onUpdate:tween"?: ((args_0?: {
202
202
  [x: string]: any;
203
203
  delay?: (number | Function) | undefined;
@@ -15,14 +15,14 @@ declare const _default: import('vue').DefineComponent<TextProps, {}, {}, {}, {},
15
15
  pointerup: (...args: Phaser.Types.Input.EventData[]) => any;
16
16
  wheel: (...args: Phaser.Types.Input.EventData[]) => any;
17
17
  "update:depth": (args_0?: number | undefined) => any;
18
- "update:origin": (args_0?: number | undefined) => any;
19
18
  "update:originX": (args_0?: number | undefined) => any;
20
19
  "update:originY": (args_0?: number | undefined) => any;
21
20
  "update:displayOriginX": (args_0?: number | undefined) => any;
22
21
  "update:displayOriginY": (args_0?: number | undefined) => any;
23
- "update:scrollFactor": (args_0?: number | undefined) => any;
22
+ "update:origin": (args_0?: number | undefined) => any;
24
23
  "update:scrollFactorX": (args_0?: number | undefined) => any;
25
24
  "update:scrollFactorY": (args_0?: number | undefined) => any;
25
+ "update:scrollFactor": (args_0?: number | undefined) => any;
26
26
  "update:hasTransformComponent": (args_0?: boolean | undefined) => any;
27
27
  "update:x": (args_0?: number | undefined) => any;
28
28
  "update:y": (args_0?: number | undefined) => any;
@@ -35,10 +35,10 @@ declare const _default: import('vue').DefineComponent<TextProps, {}, {}, {}, {},
35
35
  "update:rotation": (args_0?: number | undefined) => any;
36
36
  "update:visible": (args_0?: boolean | undefined) => any;
37
37
  "update:active": (args_0?: boolean | undefined) => any;
38
- "update:displayHeight": (args_0?: number | undefined) => any;
39
- "update:displayWidth": (args_0?: number | undefined) => any;
40
38
  "update:width": (args_0?: number | undefined) => any;
41
39
  "update:height": (args_0?: number | undefined) => any;
40
+ "update:displayHeight": (args_0?: number | undefined) => any;
41
+ "update:displayWidth": (args_0?: number | undefined) => any;
42
42
  "update:tween": (args_0?: {
43
43
  [x: string]: any;
44
44
  delay?: (number | Function) | undefined;
@@ -145,7 +145,7 @@ declare const _default: import('vue').DefineComponent<TextProps, {}, {}, {}, {},
145
145
  "update:tint": (args_0?: number | undefined) => any;
146
146
  "update:isTinted": (args_0?: boolean | undefined) => any;
147
147
  "update:style": (args_0?: Phaser.Types.GameObjects.Text.TextStyle | undefined) => any;
148
- "update:text": (args_0?: string | (string & string[]) | undefined) => any;
148
+ "update:text": (args_0?: string | (string[] & string) | undefined) => any;
149
149
  "update:padding": (args_0?: Phaser.Types.GameObjects.Text.TextPadding | undefined) => any;
150
150
  }, string, import('vue').PublicProps, Readonly<TextProps> & Readonly<{
151
151
  onClickoutside?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
@@ -163,14 +163,14 @@ declare const _default: import('vue').DefineComponent<TextProps, {}, {}, {}, {},
163
163
  onPointerup?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
164
164
  onWheel?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
165
165
  "onUpdate:depth"?: ((args_0?: number | undefined) => any) | undefined;
166
- "onUpdate:origin"?: ((args_0?: number | undefined) => any) | undefined;
167
166
  "onUpdate:originX"?: ((args_0?: number | undefined) => any) | undefined;
168
167
  "onUpdate:originY"?: ((args_0?: number | undefined) => any) | undefined;
169
168
  "onUpdate:displayOriginX"?: ((args_0?: number | undefined) => any) | undefined;
170
169
  "onUpdate:displayOriginY"?: ((args_0?: number | undefined) => any) | undefined;
171
- "onUpdate:scrollFactor"?: ((args_0?: number | undefined) => any) | undefined;
170
+ "onUpdate:origin"?: ((args_0?: number | undefined) => any) | undefined;
172
171
  "onUpdate:scrollFactorX"?: ((args_0?: number | undefined) => any) | undefined;
173
172
  "onUpdate:scrollFactorY"?: ((args_0?: number | undefined) => any) | undefined;
173
+ "onUpdate:scrollFactor"?: ((args_0?: number | undefined) => any) | undefined;
174
174
  "onUpdate:hasTransformComponent"?: ((args_0?: boolean | undefined) => any) | undefined;
175
175
  "onUpdate:x"?: ((args_0?: number | undefined) => any) | undefined;
176
176
  "onUpdate:y"?: ((args_0?: number | undefined) => any) | undefined;
@@ -183,10 +183,10 @@ declare const _default: import('vue').DefineComponent<TextProps, {}, {}, {}, {},
183
183
  "onUpdate:rotation"?: ((args_0?: number | undefined) => any) | undefined;
184
184
  "onUpdate:visible"?: ((args_0?: boolean | undefined) => any) | undefined;
185
185
  "onUpdate:active"?: ((args_0?: boolean | undefined) => any) | undefined;
186
- "onUpdate:displayHeight"?: ((args_0?: number | undefined) => any) | undefined;
187
- "onUpdate:displayWidth"?: ((args_0?: number | undefined) => any) | undefined;
188
186
  "onUpdate:width"?: ((args_0?: number | undefined) => any) | undefined;
189
187
  "onUpdate:height"?: ((args_0?: number | undefined) => any) | undefined;
188
+ "onUpdate:displayHeight"?: ((args_0?: number | undefined) => any) | undefined;
189
+ "onUpdate:displayWidth"?: ((args_0?: number | undefined) => any) | undefined;
190
190
  "onUpdate:tween"?: ((args_0?: {
191
191
  [x: string]: any;
192
192
  delay?: (number | Function) | undefined;
@@ -293,7 +293,7 @@ declare const _default: import('vue').DefineComponent<TextProps, {}, {}, {}, {},
293
293
  "onUpdate:tint"?: ((args_0?: number | undefined) => any) | undefined;
294
294
  "onUpdate:isTinted"?: ((args_0?: boolean | undefined) => any) | undefined;
295
295
  "onUpdate:style"?: ((args_0?: Phaser.Types.GameObjects.Text.TextStyle | undefined) => any) | undefined;
296
- "onUpdate:text"?: ((args_0?: string | (string & string[]) | undefined) => any) | undefined;
296
+ "onUpdate:text"?: ((args_0?: string | (string[] & string) | undefined) => any) | undefined;
297
297
  "onUpdate:padding"?: ((args_0?: Phaser.Types.GameObjects.Text.TextPadding | undefined) => any) | undefined;
298
298
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
299
299
  export default _default;
@@ -19,14 +19,14 @@ declare const _default: import('vue').DefineComponent<ZoneProps, {}, {}, {}, {},
19
19
  pointerup: (...args: Phaser.Types.Input.EventData[]) => any;
20
20
  wheel: (...args: Phaser.Types.Input.EventData[]) => any;
21
21
  "update:depth": (args_0?: number | undefined) => any;
22
- "update:origin": (args_0?: number | undefined) => any;
23
22
  "update:originX": (args_0?: number | undefined) => any;
24
23
  "update:originY": (args_0?: number | undefined) => any;
25
24
  "update:displayOriginX": (args_0?: number | undefined) => any;
26
25
  "update:displayOriginY": (args_0?: number | undefined) => any;
27
- "update:scrollFactor": (args_0?: number | undefined) => any;
26
+ "update:origin": (args_0?: number | undefined) => any;
28
27
  "update:scrollFactorX": (args_0?: number | undefined) => any;
29
28
  "update:scrollFactorY": (args_0?: number | undefined) => any;
29
+ "update:scrollFactor": (args_0?: number | undefined) => any;
30
30
  "update:hasTransformComponent": (args_0?: boolean | undefined) => any;
31
31
  "update:x": (args_0?: number | undefined) => any;
32
32
  "update:y": (args_0?: number | undefined) => any;
@@ -39,10 +39,10 @@ declare const _default: import('vue').DefineComponent<ZoneProps, {}, {}, {}, {},
39
39
  "update:rotation": (args_0?: number | undefined) => any;
40
40
  "update:visible": (args_0?: boolean | undefined) => any;
41
41
  "update:active": (args_0?: boolean | undefined) => any;
42
- "update:displayHeight": (args_0?: number | undefined) => any;
43
- "update:displayWidth": (args_0?: number | undefined) => any;
44
42
  "update:width": (args_0?: number | undefined) => any;
45
43
  "update:height": (args_0?: number | undefined) => any;
44
+ "update:displayHeight": (args_0?: number | undefined) => any;
45
+ "update:displayWidth": (args_0?: number | undefined) => any;
46
46
  "update:tween": (args_0?: {
47
47
  [x: string]: any;
48
48
  delay?: (number | Function) | undefined;
@@ -145,14 +145,14 @@ declare const _default: import('vue').DefineComponent<ZoneProps, {}, {}, {}, {},
145
145
  onPointerup?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
146
146
  onWheel?: ((...args: Phaser.Types.Input.EventData[]) => any) | undefined;
147
147
  "onUpdate:depth"?: ((args_0?: number | undefined) => any) | undefined;
148
- "onUpdate:origin"?: ((args_0?: number | undefined) => any) | undefined;
149
148
  "onUpdate:originX"?: ((args_0?: number | undefined) => any) | undefined;
150
149
  "onUpdate:originY"?: ((args_0?: number | undefined) => any) | undefined;
151
150
  "onUpdate:displayOriginX"?: ((args_0?: number | undefined) => any) | undefined;
152
151
  "onUpdate:displayOriginY"?: ((args_0?: number | undefined) => any) | undefined;
153
- "onUpdate:scrollFactor"?: ((args_0?: number | undefined) => any) | undefined;
152
+ "onUpdate:origin"?: ((args_0?: number | undefined) => any) | undefined;
154
153
  "onUpdate:scrollFactorX"?: ((args_0?: number | undefined) => any) | undefined;
155
154
  "onUpdate:scrollFactorY"?: ((args_0?: number | undefined) => any) | undefined;
155
+ "onUpdate:scrollFactor"?: ((args_0?: number | undefined) => any) | undefined;
156
156
  "onUpdate:hasTransformComponent"?: ((args_0?: boolean | undefined) => any) | undefined;
157
157
  "onUpdate:x"?: ((args_0?: number | undefined) => any) | undefined;
158
158
  "onUpdate:y"?: ((args_0?: number | undefined) => any) | undefined;
@@ -165,10 +165,10 @@ declare const _default: import('vue').DefineComponent<ZoneProps, {}, {}, {}, {},
165
165
  "onUpdate:rotation"?: ((args_0?: number | undefined) => any) | undefined;
166
166
  "onUpdate:visible"?: ((args_0?: boolean | undefined) => any) | undefined;
167
167
  "onUpdate:active"?: ((args_0?: boolean | undefined) => any) | undefined;
168
- "onUpdate:displayHeight"?: ((args_0?: number | undefined) => any) | undefined;
169
- "onUpdate:displayWidth"?: ((args_0?: number | undefined) => any) | undefined;
170
168
  "onUpdate:width"?: ((args_0?: number | undefined) => any) | undefined;
171
169
  "onUpdate:height"?: ((args_0?: number | undefined) => any) | undefined;
170
+ "onUpdate:displayHeight"?: ((args_0?: number | undefined) => any) | undefined;
171
+ "onUpdate:displayWidth"?: ((args_0?: number | undefined) => any) | undefined;
172
172
  "onUpdate:tween"?: ((args_0?: {
173
173
  [x: string]: any;
174
174
  delay?: (number | Function) | undefined;
package/dist/index.js CHANGED
@@ -165601,11 +165601,11 @@ function Hc() {
165601
165601
  if (o(X) !== "object" || X === null) return X;
165602
165602
  var K = X[Symbol.toPrimitive];
165603
165603
  if (K !== void 0) {
165604
- var W = K.call(X, V);
165604
+ var W = K.call(X, V || "default");
165605
165605
  if (o(W) !== "object") return W;
165606
165606
  throw new TypeError("@@toPrimitive must return a primitive value.");
165607
165607
  }
165608
- return String(X);
165608
+ return (V === "string" ? String : Number)(X);
165609
165609
  }
165610
165610
  function t(X, V) {
165611
165611
  if (typeof V != "function" && V !== null)
@@ -168752,8 +168752,8 @@ var ui;
168752
168752
  E.Ellipse = "ellipse", E.Point = "point", E.Polygon = "polygon", E.Rectangle = "rectangle";
168753
168753
  })(ui || (ui = {}));
168754
168754
  const X2 = (E) => "point" in E ? ui.Point : "ellipse" in E ? ui.Ellipse : "polygon" in E ? ui.Polygon : ui.Rectangle, h1 = (E) => E ? E.map(({ property: F }) => {
168755
- const { _: w, $: M } = F[0], { name: Y, value: b } = M;
168756
- return { name: Y, value: b ?? w };
168755
+ const { $: w, _: M } = F[0], { name: Y, value: b } = w;
168756
+ return { name: Y, value: b ?? M };
168757
168757
  }) : void 0, V2 = (E) => E &= ~Object.values(vi).reduce((F, w) => F | w, 0), Y2 = (E) => {
168758
168758
  const { $: F, polygon: w, properties: M, text: Y } = E, b = structuredClone(F);
168759
168759
  if (b.shape = X2(E), M && (b.properties = h1(M)), w && (b.points = w[0].$.points.split(" ").map((c) => {
@@ -1,8 +1,8 @@
1
1
  import { ShapeConfiguration } from './shared/ShapeConfiguration';
2
2
  import { GameObjects } from 'phaser';
3
- export type ArcConfiguration = {
3
+ export type ArcConfiguration = ShapeConfiguration & {
4
4
  closePath: GameObjects.Arc["closePath"];
5
5
  endAngle: GameObjects.Arc["endAngle"];
6
6
  radius: GameObjects.Arc["radius"];
7
7
  startAngle: GameObjects.Arc["startAngle"];
8
- } & ShapeConfiguration;
8
+ };
@@ -1,6 +1,6 @@
1
1
  import { ShapeConfiguration } from './shared/ShapeConfiguration';
2
2
  import { GameObjects } from 'phaser';
3
- export type RectangleConfiguration = {
3
+ export type RectangleConfiguration = ShapeConfiguration & {
4
4
  height: GameObjects.Rectangle["height"];
5
5
  width: GameObjects.Rectangle["width"];
6
- } & ShapeConfiguration;
6
+ };
@@ -13,6 +13,6 @@ import { VisibleConfiguration } from './components/VisibleConfiguration';
13
13
  import { GlobalConfiguration } from './global/GlobalConfiguration';
14
14
  import { Types } from 'phaser';
15
15
  import { Except } from 'type-fest';
16
- export type TextConfiguration = {
16
+ export type TextConfiguration = AlphaConfiguration & BlendModeConfiguration & ComputedSizeConfiguration & DepthConfiguration & Except<Types.GameObjects.Text.TextConfig, keyof Types.GameObjects.GameObjectConfig> & FlipConfiguration & GlobalConfiguration & MaskConfiguration & OriginConfiguration & PipelineConfiguration & ScrollFactorConfiguration & TintConfiguration & TransformConfiguration & VisibleConfiguration & {
17
17
  text: string;
18
- } & AlphaConfiguration & BlendModeConfiguration & ComputedSizeConfiguration & DepthConfiguration & Except<Types.GameObjects.Text.TextConfig, keyof Types.GameObjects.GameObjectConfig> & FlipConfiguration & GlobalConfiguration & MaskConfiguration & OriginConfiguration & PipelineConfiguration & ScrollFactorConfiguration & TintConfiguration & TransformConfiguration & VisibleConfiguration;
18
+ };
@@ -6,7 +6,7 @@ import { VisibleConfiguration } from './components/VisibleConfiguration';
6
6
  import { GlobalConfiguration } from './global/GlobalConfiguration';
7
7
  import { GameObjects, Types } from 'phaser';
8
8
  import { Except } from 'type-fest';
9
- export type ZoneConfiguration = {
9
+ export type ZoneConfiguration = DepthConfiguration & Except<Types.GameObjects.Zone.ZoneConfig, keyof Types.GameObjects.GameObjectConfig> & GlobalConfiguration & OriginConfiguration & ScrollFactorConfiguration & TransformConfiguration & VisibleConfiguration & {
10
10
  displayHeight: GameObjects.Zone["displayHeight"];
11
11
  displayWidth: GameObjects.Zone["displayWidth"];
12
- } & DepthConfiguration & Except<Types.GameObjects.Zone.ZoneConfig, keyof Types.GameObjects.GameObjectConfig> & GlobalConfiguration & OriginConfiguration & ScrollFactorConfiguration & TransformConfiguration & VisibleConfiguration;
12
+ };
@@ -1,5 +1,5 @@
1
1
  import { ExcludeFunctionProperties } from '../../../utils/types/ExcludeFunctionProperties';
2
2
  import { GameObjects } from 'phaser';
3
- export type OriginConfiguration = ExcludeFunctionProperties<{
3
+ export type OriginConfiguration = ExcludeFunctionProperties<GameObjects.Components.Origin & {
4
4
  origin: number;
5
- } & GameObjects.Components.Origin>;
5
+ }>;
@@ -1,5 +1,5 @@
1
1
  import { ExcludeFunctionProperties } from '../../../utils/types/ExcludeFunctionProperties';
2
2
  import { GameObjects } from 'phaser';
3
- export type ScrollFactorConfiguration = ExcludeFunctionProperties<{
3
+ export type ScrollFactorConfiguration = ExcludeFunctionProperties<GameObjects.Components.ScrollFactor & {
4
4
  scrollFactor: number;
5
- } & GameObjects.Components.ScrollFactor>;
5
+ }>;
@@ -9,11 +9,11 @@ import { TransformConfiguration } from '../components/TransformConfiguration';
9
9
  import { VisibleConfiguration } from '../components/VisibleConfiguration';
10
10
  import { GlobalConfiguration } from '../global/GlobalConfiguration';
11
11
  import { GameObjects } from 'phaser';
12
- export type ShapeConfiguration = {
12
+ export type ShapeConfiguration = AlphaSingleConfiguration & BlendModeConfiguration & DepthConfiguration & GlobalConfiguration & MaskConfiguration & OriginConfiguration & PipelineConfiguration & ScrollFactorConfiguration & TransformConfiguration & VisibleConfiguration & {
13
13
  active: GameObjects.Shape["active"];
14
14
  displayHeight: GameObjects.Shape["displayHeight"];
15
15
  displayWidth: GameObjects.Shape["displayWidth"];
16
16
  fillAlpha: GameObjects.Shape["fillAlpha"];
17
17
  fillColor: GameObjects.Shape["fillColor"];
18
18
  strokeStyle: Parameters<GameObjects.Shape["setStrokeStyle"]>;
19
- } & AlphaSingleConfiguration & BlendModeConfiguration & DepthConfiguration & GlobalConfiguration & MaskConfiguration & OriginConfiguration & PipelineConfiguration & ScrollFactorConfiguration & TransformConfiguration & VisibleConfiguration;
19
+ };
@@ -2,6 +2,6 @@ import { ArcConfiguration } from '../configuration/ArcConfiguration';
2
2
  import { GameObjectEventMapEmitsOptions } from './shared/GameObjectEventMapEmitsOptions';
3
3
  import { ExtractUpdateEvent } from '../../utils/types/ExtractUpdateEvent';
4
4
  import { UpdateEvent } from '../../utils/types/UpdateEvent';
5
- export type ArcEventEmitsOptions = {
5
+ export type ArcEventEmitsOptions = GameObjectEventMapEmitsOptions & {
6
6
  [P in UpdateEvent<keyof ArcConfiguration>]: [ArcConfiguration[ExtractUpdateEvent<P>]?];
7
- } & GameObjectEventMapEmitsOptions;
7
+ };
@@ -2,6 +2,6 @@ import { ContainerConfiguration } from '../configuration/ContainerConfiguration'
2
2
  import { GameObjectEventMapEmitsOptions } from './shared/GameObjectEventMapEmitsOptions';
3
3
  import { ExtractUpdateEvent } from '../../utils/types/ExtractUpdateEvent';
4
4
  import { UpdateEvent } from '../../utils/types/UpdateEvent';
5
- export type ContainerEventEmitsOptions = {
5
+ export type ContainerEventEmitsOptions = GameObjectEventMapEmitsOptions & {
6
6
  [P in UpdateEvent<keyof ContainerConfiguration>]: [ContainerConfiguration[ExtractUpdateEvent<P>]?];
7
- } & GameObjectEventMapEmitsOptions;
7
+ };
@@ -2,6 +2,6 @@ import { ImageConfiguration } from '../configuration/ImageConfiguration';
2
2
  import { GameObjectEventMapEmitsOptions } from './shared/GameObjectEventMapEmitsOptions';
3
3
  import { ExtractUpdateEvent } from '../../utils/types/ExtractUpdateEvent';
4
4
  import { UpdateEvent } from '../../utils/types/UpdateEvent';
5
- export type ImageEventEmitsOptions = {
5
+ export type ImageEventEmitsOptions = GameObjectEventMapEmitsOptions & {
6
6
  [P in UpdateEvent<keyof ImageConfiguration>]: [ImageConfiguration[ExtractUpdateEvent<P>]?];
7
- } & GameObjectEventMapEmitsOptions;
7
+ };
@@ -2,6 +2,6 @@ import { NineSliceConfiguration } from '../configuration/NineSliceConfiguration'
2
2
  import { GameObjectEventMapEmitsOptions } from './shared/GameObjectEventMapEmitsOptions';
3
3
  import { ExtractUpdateEvent } from '../../utils/types/ExtractUpdateEvent';
4
4
  import { UpdateEvent } from '../../utils/types/UpdateEvent';
5
- export type NineSliceEventEmitsOptions = {
5
+ export type NineSliceEventEmitsOptions = GameObjectEventMapEmitsOptions & {
6
6
  [P in UpdateEvent<keyof NineSliceConfiguration>]: [NineSliceConfiguration[ExtractUpdateEvent<P>]?];
7
- } & GameObjectEventMapEmitsOptions;
7
+ };
@@ -2,6 +2,6 @@ import { PathFollowerConfiguration } from '../configuration/PathFollowerConfigur
2
2
  import { GameObjectEventMapEmitsOptions } from './shared/GameObjectEventMapEmitsOptions';
3
3
  import { ExtractUpdateEvent } from '../../utils/types/ExtractUpdateEvent';
4
4
  import { UpdateEvent } from '../../utils/types/UpdateEvent';
5
- export type PathFollowerEventEmitsOptions = {
5
+ export type PathFollowerEventEmitsOptions = GameObjectEventMapEmitsOptions & {
6
6
  [P in UpdateEvent<keyof PathFollowerConfiguration>]: [PathFollowerConfiguration[ExtractUpdateEvent<P>]?];
7
- } & GameObjectEventMapEmitsOptions;
7
+ };
@@ -2,6 +2,6 @@ import { RectangleConfiguration } from '../configuration/RectangleConfiguration'
2
2
  import { GameObjectEventMapEmitsOptions } from './shared/GameObjectEventMapEmitsOptions';
3
3
  import { ExtractUpdateEvent } from '../../utils/types/ExtractUpdateEvent';
4
4
  import { UpdateEvent } from '../../utils/types/UpdateEvent';
5
- export type RectangleEventEmitsOptions = {
5
+ export type RectangleEventEmitsOptions = GameObjectEventMapEmitsOptions & {
6
6
  [P in UpdateEvent<keyof RectangleConfiguration>]: [RectangleConfiguration[ExtractUpdateEvent<P>]?];
7
- } & GameObjectEventMapEmitsOptions;
7
+ };
@@ -2,6 +2,6 @@ import { SpriteConfiguration } from '../configuration/SpriteConfiguration';
2
2
  import { GameObjectEventMapEmitsOptions } from './shared/GameObjectEventMapEmitsOptions';
3
3
  import { ExtractUpdateEvent } from '../../utils/types/ExtractUpdateEvent';
4
4
  import { UpdateEvent } from '../../utils/types/UpdateEvent';
5
- export type SpriteEventEmitsOptions = {
5
+ export type SpriteEventEmitsOptions = GameObjectEventMapEmitsOptions & {
6
6
  [P in UpdateEvent<keyof SpriteConfiguration>]: [SpriteConfiguration[ExtractUpdateEvent<P>]?];
7
- } & GameObjectEventMapEmitsOptions;
7
+ };
@@ -2,6 +2,6 @@ import { TextConfiguration } from '../configuration/TextConfiguration';
2
2
  import { GameObjectEventMapEmitsOptions } from './shared/GameObjectEventMapEmitsOptions';
3
3
  import { ExtractUpdateEvent } from '../../utils/types/ExtractUpdateEvent';
4
4
  import { UpdateEvent } from '../../utils/types/UpdateEvent';
5
- export type TextEventEmitsOptions = {
5
+ export type TextEventEmitsOptions = GameObjectEventMapEmitsOptions & {
6
6
  [P in UpdateEvent<keyof TextConfiguration>]: [TextConfiguration[ExtractUpdateEvent<P>]?];
7
- } & GameObjectEventMapEmitsOptions;
7
+ };
@@ -2,6 +2,6 @@ import { TileSpriteConfiguration } from '../configuration/TileSpriteConfiguratio
2
2
  import { GameObjectEventMapEmitsOptions } from './shared/GameObjectEventMapEmitsOptions';
3
3
  import { ExtractUpdateEvent } from '../../utils/types/ExtractUpdateEvent';
4
4
  import { UpdateEvent } from '../../utils/types/UpdateEvent';
5
- export type TileSpriteEventEmitsOptions = {
5
+ export type TileSpriteEventEmitsOptions = GameObjectEventMapEmitsOptions & Record<string, unknown[]> & {
6
6
  [P in UpdateEvent<keyof TileSpriteConfiguration>]: [TileSpriteConfiguration[ExtractUpdateEvent<P>]?];
7
- } & GameObjectEventMapEmitsOptions & Record<string, unknown[]>;
7
+ };
@@ -2,6 +2,6 @@ import { ZoneConfiguration } from '../configuration/ZoneConfiguration';
2
2
  import { GameObjectEventMapEmitsOptions } from './shared/GameObjectEventMapEmitsOptions';
3
3
  import { ExtractUpdateEvent } from '../../utils/types/ExtractUpdateEvent';
4
4
  import { UpdateEvent } from '../../utils/types/UpdateEvent';
5
- export type ZoneEventEmitsOptions = {
5
+ export type ZoneEventEmitsOptions = GameObjectEventMapEmitsOptions & {
6
6
  [P in UpdateEvent<keyof ZoneConfiguration>]: [ZoneConfiguration[ExtractUpdateEvent<P>]?];
7
- } & GameObjectEventMapEmitsOptions;
7
+ };
@@ -1,2 +1,2 @@
1
- export type AnimationKeyMap = Record<string, string>;
2
1
  export type AnimationKey = AnimationKeyMap[keyof AnimationKeyMap];
2
+ export type AnimationKeyMap = Record<string, string>;
@@ -1,6 +1,6 @@
1
1
  import { GameObjects } from 'phaser';
2
2
  export declare const AnimationSetterMap: {
3
- readonly animations: (gameObject: GameObjects.Sprite, emit: ((event: "clickoutside", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "drag", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "dragend", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "dragenter", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "dragleave", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "dragover", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "dragstart", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "drop", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "pointerdown", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "pointermove", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "pointerout", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "pointerover", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "pointerup", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "wheel", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "update:depth", args_0?: number | undefined) => void) & ((event: "update:origin", args_0?: number | undefined) => void) & ((event: "update:originX", args_0?: number | undefined) => void) & ((event: "update:originY", args_0?: number | undefined) => void) & ((event: "update:displayOriginX", args_0?: number | undefined) => void) & ((event: "update:displayOriginY", args_0?: number | undefined) => void) & ((event: "update:scrollFactor", args_0?: number | undefined) => void) & ((event: "update:scrollFactorX", args_0?: number | undefined) => void) & ((event: "update:scrollFactorY", args_0?: number | undefined) => void) & ((event: "update:hasTransformComponent", args_0?: boolean | undefined) => void) & ((event: "update:x", args_0?: number | undefined) => void) & ((event: "update:y", args_0?: number | undefined) => void) & ((event: "update:z", args_0?: number | undefined) => void) & ((event: "update:w", args_0?: number | undefined) => void) & ((event: "update:scale", args_0?: number | undefined) => void) & ((event: "update:scaleX", args_0?: number | undefined) => void) & ((event: "update:scaleY", args_0?: number | undefined) => void) & ((event: "update:angle", args_0?: number | undefined) => void) & ((event: "update:rotation", args_0?: number | undefined) => void) & ((event: "update:visible", args_0?: boolean | undefined) => void) & ((event: "update:active", args_0?: boolean | undefined) => void) & ((event: "update:displayHeight", args_0?: number | undefined) => void) & ((event: "update:displayWidth", args_0?: number | undefined) => void) & ((event: "update:width", args_0?: number | undefined) => void) & ((event: "update:height", args_0?: number | undefined) => void) & ((event: "update:tween", args_0?: {
3
+ readonly animations: (gameObject: GameObjects.Sprite, emit: ((event: "clickoutside", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "drag", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "dragend", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "dragenter", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "dragleave", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "dragover", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "dragstart", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "drop", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "pointerdown", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "pointermove", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "pointerout", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "pointerover", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "pointerup", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "wheel", ...args: Phaser.Types.Input.EventData[]) => void) & ((event: "update:depth", args_0?: number | undefined) => void) & ((event: "update:originX", args_0?: number | undefined) => void) & ((event: "update:originY", args_0?: number | undefined) => void) & ((event: "update:displayOriginX", args_0?: number | undefined) => void) & ((event: "update:displayOriginY", args_0?: number | undefined) => void) & ((event: "update:origin", args_0?: number | undefined) => void) & ((event: "update:scrollFactorX", args_0?: number | undefined) => void) & ((event: "update:scrollFactorY", args_0?: number | undefined) => void) & ((event: "update:scrollFactor", args_0?: number | undefined) => void) & ((event: "update:hasTransformComponent", args_0?: boolean | undefined) => void) & ((event: "update:x", args_0?: number | undefined) => void) & ((event: "update:y", args_0?: number | undefined) => void) & ((event: "update:z", args_0?: number | undefined) => void) & ((event: "update:w", args_0?: number | undefined) => void) & ((event: "update:scale", args_0?: number | undefined) => void) & ((event: "update:scaleX", args_0?: number | undefined) => void) & ((event: "update:scaleY", args_0?: number | undefined) => void) & ((event: "update:angle", args_0?: number | undefined) => void) & ((event: "update:rotation", args_0?: number | undefined) => void) & ((event: "update:visible", args_0?: boolean | undefined) => void) & ((event: "update:active", args_0?: boolean | undefined) => void) & ((event: "update:width", args_0?: number | undefined) => void) & ((event: "update:height", args_0?: number | undefined) => void) & ((event: "update:displayHeight", args_0?: number | undefined) => void) & ((event: "update:displayWidth", args_0?: number | undefined) => void) & ((event: "update:tween", args_0?: {
4
4
  [x: string]: any;
5
5
  delay?: (number | Function) | undefined;
6
6
  duration?: number | undefined;