vue-phaserjs 1.20.0 → 1.20.2
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/components/Circle.vue.d.ts +28 -28
- package/dist/components/Container.vue.d.ts +41 -34
- package/dist/components/Game.vue.d.ts +14 -5
- package/dist/components/Image.vue.d.ts +28 -28
- package/dist/components/Nineslice.vue.d.ts +28 -28
- package/dist/components/PathFollower.vue.d.ts +28 -28
- package/dist/components/Rectangle.vue.d.ts +28 -28
- package/dist/components/Scene.vue.d.ts +13 -6
- package/dist/components/Sprite.vue.d.ts +28 -28
- package/dist/components/Text.vue.d.ts +28 -28
- package/dist/components/TileSprite.vue.d.ts +14 -14
- package/dist/components/Tilemap.vue.d.ts +12 -5
- package/dist/components/Zone.vue.d.ts +28 -28
- package/dist/composables/useAnimations.d.ts +2 -2
- package/dist/utils/setterMap/global/GlobalSetterMap.d.ts +42 -42
- package/dist/utils/setterMap/global/TweenSetterMap.d.ts +42 -42
- package/dist/utils/setterMap/shared/AnimationSetterMap.d.ts +14 -14
- package/package.json +6 -6
|
@@ -32,9 +32,9 @@ declare const _default: import('vue').DefineComponent<TileSpriteProps, {}, {}, {
|
|
|
32
32
|
"update:height": (args_0?: number | undefined) => any;
|
|
33
33
|
"update:tween": (args_0?: {
|
|
34
34
|
[x: string]: any;
|
|
35
|
-
delay?: number | Function | undefined;
|
|
35
|
+
delay?: (number | Function) | undefined;
|
|
36
36
|
duration?: number | undefined;
|
|
37
|
-
ease?: string | Function | undefined;
|
|
37
|
+
ease?: (string | Function) | undefined;
|
|
38
38
|
easeParams?: any[] | undefined;
|
|
39
39
|
hold?: number | undefined;
|
|
40
40
|
repeat?: number | undefined;
|
|
@@ -42,12 +42,12 @@ declare const _default: import('vue').DefineComponent<TileSpriteProps, {}, {}, {
|
|
|
42
42
|
yoyo?: boolean | undefined;
|
|
43
43
|
flipX?: boolean | undefined;
|
|
44
44
|
flipY?: boolean | undefined;
|
|
45
|
-
completeDelay?: string | number |
|
|
46
|
-
loop?: string | number |
|
|
47
|
-
loopDelay?: string | number |
|
|
45
|
+
completeDelay?: (string | number | Function | object | any[]) | undefined;
|
|
46
|
+
loop?: (string | number | Function | object | any[]) | undefined;
|
|
47
|
+
loopDelay?: (string | number | Function | object | any[]) | undefined;
|
|
48
48
|
paused?: boolean | undefined;
|
|
49
49
|
props?: {
|
|
50
|
-
[key: string]:
|
|
50
|
+
[key: string]: (number | string | Phaser.Types.Tweens.GetEndCallback | Phaser.Types.Tweens.TweenPropConfig);
|
|
51
51
|
} | undefined;
|
|
52
52
|
callbackScope?: any;
|
|
53
53
|
onComplete?: Phaser.Types.Tweens.TweenOnCompleteCallback | undefined;
|
|
@@ -71,13 +71,13 @@ declare const _default: import('vue').DefineComponent<TileSpriteProps, {}, {}, {
|
|
|
71
71
|
onResume?: Phaser.Types.Tweens.TweenOnResumeCallback | undefined;
|
|
72
72
|
onResumeParams?: any[] | undefined;
|
|
73
73
|
persist?: boolean | undefined;
|
|
74
|
-
interpolation?: string | Function | undefined;
|
|
74
|
+
interpolation?: (string | Function) | undefined;
|
|
75
75
|
} | undefined) => any;
|
|
76
76
|
"update:tweenchain": (args_0?: {
|
|
77
77
|
[x: string]: any;
|
|
78
|
-
delay?: number | Function | undefined;
|
|
78
|
+
delay?: (number | Function) | undefined;
|
|
79
79
|
duration?: number | undefined;
|
|
80
|
-
ease?: string | Function | undefined;
|
|
80
|
+
ease?: (string | Function) | undefined;
|
|
81
81
|
easeParams?: any[] | undefined;
|
|
82
82
|
hold?: number | undefined;
|
|
83
83
|
repeat?: number | undefined;
|
|
@@ -85,12 +85,12 @@ declare const _default: import('vue').DefineComponent<TileSpriteProps, {}, {}, {
|
|
|
85
85
|
yoyo?: boolean | undefined;
|
|
86
86
|
flipX?: boolean | undefined;
|
|
87
87
|
flipY?: boolean | undefined;
|
|
88
|
-
completeDelay?: string | number |
|
|
89
|
-
loop?: string | number |
|
|
90
|
-
loopDelay?: string | number |
|
|
88
|
+
completeDelay?: (string | number | Function | object | any[]) | undefined;
|
|
89
|
+
loop?: (string | number | Function | object | any[]) | undefined;
|
|
90
|
+
loopDelay?: (string | number | Function | object | any[]) | undefined;
|
|
91
91
|
paused?: boolean | undefined;
|
|
92
92
|
props?: {
|
|
93
|
-
[key: string]:
|
|
93
|
+
[key: string]: (number | string | Phaser.Types.Tweens.GetEndCallback | Phaser.Types.Tweens.TweenPropConfig);
|
|
94
94
|
} | undefined;
|
|
95
95
|
callbackScope?: any;
|
|
96
96
|
onComplete?: Phaser.Types.Tweens.TweenOnCompleteCallback | undefined;
|
|
@@ -114,7 +114,7 @@ declare const _default: import('vue').DefineComponent<TileSpriteProps, {}, {}, {
|
|
|
114
114
|
onResume?: Phaser.Types.Tweens.TweenOnResumeCallback | undefined;
|
|
115
115
|
onResumeParams?: any[] | undefined;
|
|
116
116
|
persist?: boolean | undefined;
|
|
117
|
-
interpolation?: string | Function | undefined;
|
|
117
|
+
interpolation?: (string | Function) | undefined;
|
|
118
118
|
}[] | undefined) => any;
|
|
119
119
|
"update:flipX": (args_0?: boolean | undefined) => any;
|
|
120
120
|
"update:flipY": (args_0?: boolean | undefined) => any;
|
|
@@ -4,11 +4,18 @@ interface TilemapProps {
|
|
|
4
4
|
configuration: Types.Tilemaps.TilemapConfig;
|
|
5
5
|
onComplete?: (scene: SceneWithPlugins, tilemap: Tilemaps.Tilemap) => void;
|
|
6
6
|
}
|
|
7
|
-
declare
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
slots: Readonly<{
|
|
9
|
+
default: (props: Record<string, never>) => unknown;
|
|
10
|
+
}> & {
|
|
11
|
+
default: (props: Record<string, never>) => unknown;
|
|
12
|
+
};
|
|
13
|
+
refs: {};
|
|
14
|
+
attrs: Partial<{}>;
|
|
15
|
+
};
|
|
16
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
|
+
declare const __VLS_component: import('vue').DefineComponent<TilemapProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TilemapProps & {}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}>;
|
|
18
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
12
19
|
export default _default;
|
|
13
20
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
21
|
new (): {
|
|
@@ -31,9 +31,9 @@ declare const _default: import('vue').DefineComponent<ZoneProps, {}, {}, {}, {},
|
|
|
31
31
|
"update:height": (args_0?: number | undefined) => any;
|
|
32
32
|
"update:tween": (args_0?: {
|
|
33
33
|
[x: string]: any;
|
|
34
|
-
delay?: number | Function | undefined;
|
|
34
|
+
delay?: (number | Function) | undefined;
|
|
35
35
|
duration?: number | undefined;
|
|
36
|
-
ease?: string | Function | undefined;
|
|
36
|
+
ease?: (string | Function) | undefined;
|
|
37
37
|
easeParams?: any[] | undefined;
|
|
38
38
|
hold?: number | undefined;
|
|
39
39
|
repeat?: number | undefined;
|
|
@@ -41,12 +41,12 @@ declare const _default: import('vue').DefineComponent<ZoneProps, {}, {}, {}, {},
|
|
|
41
41
|
yoyo?: boolean | undefined;
|
|
42
42
|
flipX?: boolean | undefined;
|
|
43
43
|
flipY?: boolean | undefined;
|
|
44
|
-
completeDelay?: string | number |
|
|
45
|
-
loop?: string | number |
|
|
46
|
-
loopDelay?: string | number |
|
|
44
|
+
completeDelay?: (string | number | Function | object | any[]) | undefined;
|
|
45
|
+
loop?: (string | number | Function | object | any[]) | undefined;
|
|
46
|
+
loopDelay?: (string | number | Function | object | any[]) | undefined;
|
|
47
47
|
paused?: boolean | undefined;
|
|
48
48
|
props?: {
|
|
49
|
-
[key: string]:
|
|
49
|
+
[key: string]: (number | string | Phaser.Types.Tweens.GetEndCallback | Phaser.Types.Tweens.TweenPropConfig);
|
|
50
50
|
} | undefined;
|
|
51
51
|
callbackScope?: any;
|
|
52
52
|
onComplete?: Phaser.Types.Tweens.TweenOnCompleteCallback | undefined;
|
|
@@ -70,13 +70,13 @@ declare const _default: import('vue').DefineComponent<ZoneProps, {}, {}, {}, {},
|
|
|
70
70
|
onResume?: Phaser.Types.Tweens.TweenOnResumeCallback | undefined;
|
|
71
71
|
onResumeParams?: any[] | undefined;
|
|
72
72
|
persist?: boolean | undefined;
|
|
73
|
-
interpolation?: string | Function | undefined;
|
|
73
|
+
interpolation?: (string | Function) | undefined;
|
|
74
74
|
} | undefined) => any;
|
|
75
75
|
"update:tweenchain": (args_0?: {
|
|
76
76
|
[x: string]: any;
|
|
77
|
-
delay?: number | Function | undefined;
|
|
77
|
+
delay?: (number | Function) | undefined;
|
|
78
78
|
duration?: number | undefined;
|
|
79
|
-
ease?: string | Function | undefined;
|
|
79
|
+
ease?: (string | Function) | undefined;
|
|
80
80
|
easeParams?: any[] | undefined;
|
|
81
81
|
hold?: number | undefined;
|
|
82
82
|
repeat?: number | undefined;
|
|
@@ -84,12 +84,12 @@ declare const _default: import('vue').DefineComponent<ZoneProps, {}, {}, {}, {},
|
|
|
84
84
|
yoyo?: boolean | undefined;
|
|
85
85
|
flipX?: boolean | undefined;
|
|
86
86
|
flipY?: boolean | undefined;
|
|
87
|
-
completeDelay?: string | number |
|
|
88
|
-
loop?: string | number |
|
|
89
|
-
loopDelay?: string | number |
|
|
87
|
+
completeDelay?: (string | number | Function | object | any[]) | undefined;
|
|
88
|
+
loop?: (string | number | Function | object | any[]) | undefined;
|
|
89
|
+
loopDelay?: (string | number | Function | object | any[]) | undefined;
|
|
90
90
|
paused?: boolean | undefined;
|
|
91
91
|
props?: {
|
|
92
|
-
[key: string]:
|
|
92
|
+
[key: string]: (number | string | Phaser.Types.Tweens.GetEndCallback | Phaser.Types.Tweens.TweenPropConfig);
|
|
93
93
|
} | undefined;
|
|
94
94
|
callbackScope?: any;
|
|
95
95
|
onComplete?: Phaser.Types.Tweens.TweenOnCompleteCallback | undefined;
|
|
@@ -113,7 +113,7 @@ declare const _default: import('vue').DefineComponent<ZoneProps, {}, {}, {}, {},
|
|
|
113
113
|
onResume?: Phaser.Types.Tweens.TweenOnResumeCallback | undefined;
|
|
114
114
|
onResumeParams?: any[] | undefined;
|
|
115
115
|
persist?: boolean | undefined;
|
|
116
|
-
interpolation?: string | Function | undefined;
|
|
116
|
+
interpolation?: (string | Function) | undefined;
|
|
117
117
|
}[] | undefined) => any;
|
|
118
118
|
readonly clickoutside: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
119
119
|
readonly drag: (...args: Phaser.Types.Input.EventData[]) => any;
|
|
@@ -171,9 +171,9 @@ declare const _default: import('vue').DefineComponent<ZoneProps, {}, {}, {}, {},
|
|
|
171
171
|
"onUpdate:height"?: ((args_0?: number | undefined) => any) | undefined;
|
|
172
172
|
"onUpdate:tween"?: ((args_0?: {
|
|
173
173
|
[x: string]: any;
|
|
174
|
-
delay?: number | Function | undefined;
|
|
174
|
+
delay?: (number | Function) | undefined;
|
|
175
175
|
duration?: number | undefined;
|
|
176
|
-
ease?: string | Function | undefined;
|
|
176
|
+
ease?: (string | Function) | undefined;
|
|
177
177
|
easeParams?: any[] | undefined;
|
|
178
178
|
hold?: number | undefined;
|
|
179
179
|
repeat?: number | undefined;
|
|
@@ -181,12 +181,12 @@ declare const _default: import('vue').DefineComponent<ZoneProps, {}, {}, {}, {},
|
|
|
181
181
|
yoyo?: boolean | undefined;
|
|
182
182
|
flipX?: boolean | undefined;
|
|
183
183
|
flipY?: boolean | undefined;
|
|
184
|
-
completeDelay?: string | number |
|
|
185
|
-
loop?: string | number |
|
|
186
|
-
loopDelay?: string | number |
|
|
184
|
+
completeDelay?: (string | number | Function | object | any[]) | undefined;
|
|
185
|
+
loop?: (string | number | Function | object | any[]) | undefined;
|
|
186
|
+
loopDelay?: (string | number | Function | object | any[]) | undefined;
|
|
187
187
|
paused?: boolean | undefined;
|
|
188
188
|
props?: {
|
|
189
|
-
[key: string]:
|
|
189
|
+
[key: string]: (number | string | Phaser.Types.Tweens.GetEndCallback | Phaser.Types.Tweens.TweenPropConfig);
|
|
190
190
|
} | undefined;
|
|
191
191
|
callbackScope?: any;
|
|
192
192
|
onComplete?: Phaser.Types.Tweens.TweenOnCompleteCallback | undefined;
|
|
@@ -210,13 +210,13 @@ declare const _default: import('vue').DefineComponent<ZoneProps, {}, {}, {}, {},
|
|
|
210
210
|
onResume?: Phaser.Types.Tweens.TweenOnResumeCallback | undefined;
|
|
211
211
|
onResumeParams?: any[] | undefined;
|
|
212
212
|
persist?: boolean | undefined;
|
|
213
|
-
interpolation?: string | Function | undefined;
|
|
213
|
+
interpolation?: (string | Function) | undefined;
|
|
214
214
|
} | undefined) => any) | undefined;
|
|
215
215
|
"onUpdate:tweenchain"?: ((args_0?: {
|
|
216
216
|
[x: string]: any;
|
|
217
|
-
delay?: number | Function | undefined;
|
|
217
|
+
delay?: (number | Function) | undefined;
|
|
218
218
|
duration?: number | undefined;
|
|
219
|
-
ease?: string | Function | undefined;
|
|
219
|
+
ease?: (string | Function) | undefined;
|
|
220
220
|
easeParams?: any[] | undefined;
|
|
221
221
|
hold?: number | undefined;
|
|
222
222
|
repeat?: number | undefined;
|
|
@@ -224,12 +224,12 @@ declare const _default: import('vue').DefineComponent<ZoneProps, {}, {}, {}, {},
|
|
|
224
224
|
yoyo?: boolean | undefined;
|
|
225
225
|
flipX?: boolean | undefined;
|
|
226
226
|
flipY?: boolean | undefined;
|
|
227
|
-
completeDelay?: string | number |
|
|
228
|
-
loop?: string | number |
|
|
229
|
-
loopDelay?: string | number |
|
|
227
|
+
completeDelay?: (string | number | Function | object | any[]) | undefined;
|
|
228
|
+
loop?: (string | number | Function | object | any[]) | undefined;
|
|
229
|
+
loopDelay?: (string | number | Function | object | any[]) | undefined;
|
|
230
230
|
paused?: boolean | undefined;
|
|
231
231
|
props?: {
|
|
232
|
-
[key: string]:
|
|
232
|
+
[key: string]: (number | string | Phaser.Types.Tweens.GetEndCallback | Phaser.Types.Tweens.TweenPropConfig);
|
|
233
233
|
} | undefined;
|
|
234
234
|
callbackScope?: any;
|
|
235
235
|
onComplete?: Phaser.Types.Tweens.TweenOnCompleteCallback | undefined;
|
|
@@ -253,7 +253,7 @@ declare const _default: import('vue').DefineComponent<ZoneProps, {}, {}, {}, {},
|
|
|
253
253
|
onResume?: Phaser.Types.Tweens.TweenOnResumeCallback | undefined;
|
|
254
254
|
onResumeParams?: any[] | undefined;
|
|
255
255
|
persist?: boolean | undefined;
|
|
256
|
-
interpolation?: string | Function | undefined;
|
|
256
|
+
interpolation?: (string | Function) | undefined;
|
|
257
257
|
}[] | undefined) => any) | undefined;
|
|
258
258
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}>;
|
|
259
259
|
export default _default;
|
|
@@ -4,7 +4,7 @@ export declare const useAnimations: (createConfigurations: (scene: SceneWithPlug
|
|
|
4
4
|
key?: string | undefined;
|
|
5
5
|
frames?: string | {
|
|
6
6
|
key?: string | undefined;
|
|
7
|
-
frame?: string | number | undefined;
|
|
7
|
+
frame?: (string | number) | undefined;
|
|
8
8
|
duration?: number | undefined;
|
|
9
9
|
visible?: boolean | undefined;
|
|
10
10
|
}[] | undefined;
|
|
@@ -25,7 +25,7 @@ export declare const useAnimations: (createConfigurations: (scene: SceneWithPlug
|
|
|
25
25
|
key?: string | undefined;
|
|
26
26
|
frames?: string | {
|
|
27
27
|
key?: string | undefined;
|
|
28
|
-
frame?: string | number | undefined;
|
|
28
|
+
frame?: (string | number) | undefined;
|
|
29
29
|
duration?: number | undefined;
|
|
30
30
|
visible?: boolean | undefined;
|
|
31
31
|
}[] | undefined;
|
|
@@ -3,9 +3,9 @@ export declare const GlobalSetterMap: {
|
|
|
3
3
|
readonly active: (gameObject: GameObjects.GameObject) => (value: boolean | undefined) => void;
|
|
4
4
|
readonly tween: (gameObject: GameObjects.GameObject, emit: ((event: "update:tween", args_0?: {
|
|
5
5
|
[x: string]: any;
|
|
6
|
-
delay?: number | Function | undefined;
|
|
6
|
+
delay?: (number | Function) | undefined;
|
|
7
7
|
duration?: number | undefined;
|
|
8
|
-
ease?: string | Function | undefined;
|
|
8
|
+
ease?: (string | Function) | undefined;
|
|
9
9
|
easeParams?: any[] | undefined;
|
|
10
10
|
hold?: number | undefined;
|
|
11
11
|
repeat?: number | undefined;
|
|
@@ -13,12 +13,12 @@ export declare const GlobalSetterMap: {
|
|
|
13
13
|
yoyo?: boolean | undefined;
|
|
14
14
|
flipX?: boolean | undefined;
|
|
15
15
|
flipY?: boolean | undefined;
|
|
16
|
-
completeDelay?: string | number |
|
|
17
|
-
loop?: string | number |
|
|
18
|
-
loopDelay?: string | number |
|
|
16
|
+
completeDelay?: (string | number | Function | object | any[]) | undefined;
|
|
17
|
+
loop?: (string | number | Function | object | any[]) | undefined;
|
|
18
|
+
loopDelay?: (string | number | Function | object | any[]) | undefined;
|
|
19
19
|
paused?: boolean | undefined;
|
|
20
20
|
props?: {
|
|
21
|
-
[key: string]:
|
|
21
|
+
[key: string]: (number | string | Phaser.Types.Tweens.GetEndCallback | Phaser.Types.Tweens.TweenPropConfig);
|
|
22
22
|
} | undefined;
|
|
23
23
|
callbackScope?: any;
|
|
24
24
|
onComplete?: Phaser.Types.Tweens.TweenOnCompleteCallback | undefined;
|
|
@@ -42,12 +42,12 @@ export declare const GlobalSetterMap: {
|
|
|
42
42
|
onResume?: Phaser.Types.Tweens.TweenOnResumeCallback | undefined;
|
|
43
43
|
onResumeParams?: any[] | undefined;
|
|
44
44
|
persist?: boolean | undefined;
|
|
45
|
-
interpolation?: string | Function | undefined;
|
|
45
|
+
interpolation?: (string | Function) | undefined;
|
|
46
46
|
} | undefined) => void) & ((event: "update:tweenchain", args_0?: {
|
|
47
47
|
[x: string]: any;
|
|
48
|
-
delay?: number | Function | undefined;
|
|
48
|
+
delay?: (number | Function) | undefined;
|
|
49
49
|
duration?: number | undefined;
|
|
50
|
-
ease?: string | Function | undefined;
|
|
50
|
+
ease?: (string | Function) | undefined;
|
|
51
51
|
easeParams?: any[] | undefined;
|
|
52
52
|
hold?: number | undefined;
|
|
53
53
|
repeat?: number | undefined;
|
|
@@ -55,12 +55,12 @@ export declare const GlobalSetterMap: {
|
|
|
55
55
|
yoyo?: boolean | undefined;
|
|
56
56
|
flipX?: boolean | undefined;
|
|
57
57
|
flipY?: boolean | undefined;
|
|
58
|
-
completeDelay?: string | number |
|
|
59
|
-
loop?: string | number |
|
|
60
|
-
loopDelay?: string | number |
|
|
58
|
+
completeDelay?: (string | number | Function | object | any[]) | undefined;
|
|
59
|
+
loop?: (string | number | Function | object | any[]) | undefined;
|
|
60
|
+
loopDelay?: (string | number | Function | object | any[]) | undefined;
|
|
61
61
|
paused?: boolean | undefined;
|
|
62
62
|
props?: {
|
|
63
|
-
[key: string]:
|
|
63
|
+
[key: string]: (number | string | Phaser.Types.Tweens.GetEndCallback | Phaser.Types.Tweens.TweenPropConfig);
|
|
64
64
|
} | undefined;
|
|
65
65
|
callbackScope?: any;
|
|
66
66
|
onComplete?: Phaser.Types.Tweens.TweenOnCompleteCallback | undefined;
|
|
@@ -84,12 +84,12 @@ export declare const GlobalSetterMap: {
|
|
|
84
84
|
onResume?: Phaser.Types.Tweens.TweenOnResumeCallback | undefined;
|
|
85
85
|
onResumeParams?: any[] | undefined;
|
|
86
86
|
persist?: boolean | undefined;
|
|
87
|
-
interpolation?: string | Function | undefined;
|
|
87
|
+
interpolation?: (string | Function) | undefined;
|
|
88
88
|
}[] | undefined) => void)) => (value: {
|
|
89
89
|
[x: string]: any;
|
|
90
|
-
delay?: number | Function | undefined;
|
|
90
|
+
delay?: (number | Function) | undefined;
|
|
91
91
|
duration?: number | undefined;
|
|
92
|
-
ease?: string | Function | undefined;
|
|
92
|
+
ease?: (string | Function) | undefined;
|
|
93
93
|
easeParams?: any[] | undefined;
|
|
94
94
|
hold?: number | undefined;
|
|
95
95
|
repeat?: number | undefined;
|
|
@@ -97,12 +97,12 @@ export declare const GlobalSetterMap: {
|
|
|
97
97
|
yoyo?: boolean | undefined;
|
|
98
98
|
flipX?: boolean | undefined;
|
|
99
99
|
flipY?: boolean | undefined;
|
|
100
|
-
completeDelay?: string | number |
|
|
101
|
-
loop?: string | number |
|
|
102
|
-
loopDelay?: string | number |
|
|
100
|
+
completeDelay?: (string | number | Function | object | any[]) | undefined;
|
|
101
|
+
loop?: (string | number | Function | object | any[]) | undefined;
|
|
102
|
+
loopDelay?: (string | number | Function | object | any[]) | undefined;
|
|
103
103
|
paused?: boolean | undefined;
|
|
104
104
|
props?: {
|
|
105
|
-
[key: string]:
|
|
105
|
+
[key: string]: (number | string | Phaser.Types.Tweens.GetEndCallback | Phaser.Types.Tweens.TweenPropConfig);
|
|
106
106
|
} | undefined;
|
|
107
107
|
callbackScope?: any;
|
|
108
108
|
onComplete?: Phaser.Types.Tweens.TweenOnCompleteCallback | undefined;
|
|
@@ -126,13 +126,13 @@ export declare const GlobalSetterMap: {
|
|
|
126
126
|
onResume?: Phaser.Types.Tweens.TweenOnResumeCallback | undefined;
|
|
127
127
|
onResumeParams?: any[] | undefined;
|
|
128
128
|
persist?: boolean | undefined;
|
|
129
|
-
interpolation?: string | Function | undefined;
|
|
129
|
+
interpolation?: (string | Function) | undefined;
|
|
130
130
|
} | undefined) => void;
|
|
131
131
|
readonly tweenchain: (gameObject: GameObjects.GameObject, emit: ((event: "update:tween", args_0?: {
|
|
132
132
|
[x: string]: any;
|
|
133
|
-
delay?: number | Function | undefined;
|
|
133
|
+
delay?: (number | Function) | undefined;
|
|
134
134
|
duration?: number | undefined;
|
|
135
|
-
ease?: string | Function | undefined;
|
|
135
|
+
ease?: (string | Function) | undefined;
|
|
136
136
|
easeParams?: any[] | undefined;
|
|
137
137
|
hold?: number | undefined;
|
|
138
138
|
repeat?: number | undefined;
|
|
@@ -140,12 +140,12 @@ export declare const GlobalSetterMap: {
|
|
|
140
140
|
yoyo?: boolean | undefined;
|
|
141
141
|
flipX?: boolean | undefined;
|
|
142
142
|
flipY?: boolean | undefined;
|
|
143
|
-
completeDelay?: string | number |
|
|
144
|
-
loop?: string | number |
|
|
145
|
-
loopDelay?: string | number |
|
|
143
|
+
completeDelay?: (string | number | Function | object | any[]) | undefined;
|
|
144
|
+
loop?: (string | number | Function | object | any[]) | undefined;
|
|
145
|
+
loopDelay?: (string | number | Function | object | any[]) | undefined;
|
|
146
146
|
paused?: boolean | undefined;
|
|
147
147
|
props?: {
|
|
148
|
-
[key: string]:
|
|
148
|
+
[key: string]: (number | string | Phaser.Types.Tweens.GetEndCallback | Phaser.Types.Tweens.TweenPropConfig);
|
|
149
149
|
} | undefined;
|
|
150
150
|
callbackScope?: any;
|
|
151
151
|
onComplete?: Phaser.Types.Tweens.TweenOnCompleteCallback | undefined;
|
|
@@ -169,12 +169,12 @@ export declare const GlobalSetterMap: {
|
|
|
169
169
|
onResume?: Phaser.Types.Tweens.TweenOnResumeCallback | undefined;
|
|
170
170
|
onResumeParams?: any[] | undefined;
|
|
171
171
|
persist?: boolean | undefined;
|
|
172
|
-
interpolation?: string | Function | undefined;
|
|
172
|
+
interpolation?: (string | Function) | undefined;
|
|
173
173
|
} | undefined) => void) & ((event: "update:tweenchain", args_0?: {
|
|
174
174
|
[x: string]: any;
|
|
175
|
-
delay?: number | Function | undefined;
|
|
175
|
+
delay?: (number | Function) | undefined;
|
|
176
176
|
duration?: number | undefined;
|
|
177
|
-
ease?: string | Function | undefined;
|
|
177
|
+
ease?: (string | Function) | undefined;
|
|
178
178
|
easeParams?: any[] | undefined;
|
|
179
179
|
hold?: number | undefined;
|
|
180
180
|
repeat?: number | undefined;
|
|
@@ -182,12 +182,12 @@ export declare const GlobalSetterMap: {
|
|
|
182
182
|
yoyo?: boolean | undefined;
|
|
183
183
|
flipX?: boolean | undefined;
|
|
184
184
|
flipY?: boolean | undefined;
|
|
185
|
-
completeDelay?: string | number |
|
|
186
|
-
loop?: string | number |
|
|
187
|
-
loopDelay?: string | number |
|
|
185
|
+
completeDelay?: (string | number | Function | object | any[]) | undefined;
|
|
186
|
+
loop?: (string | number | Function | object | any[]) | undefined;
|
|
187
|
+
loopDelay?: (string | number | Function | object | any[]) | undefined;
|
|
188
188
|
paused?: boolean | undefined;
|
|
189
189
|
props?: {
|
|
190
|
-
[key: string]:
|
|
190
|
+
[key: string]: (number | string | Phaser.Types.Tweens.GetEndCallback | Phaser.Types.Tweens.TweenPropConfig);
|
|
191
191
|
} | undefined;
|
|
192
192
|
callbackScope?: any;
|
|
193
193
|
onComplete?: Phaser.Types.Tweens.TweenOnCompleteCallback | undefined;
|
|
@@ -211,12 +211,12 @@ export declare const GlobalSetterMap: {
|
|
|
211
211
|
onResume?: Phaser.Types.Tweens.TweenOnResumeCallback | undefined;
|
|
212
212
|
onResumeParams?: any[] | undefined;
|
|
213
213
|
persist?: boolean | undefined;
|
|
214
|
-
interpolation?: string | Function | undefined;
|
|
214
|
+
interpolation?: (string | Function) | undefined;
|
|
215
215
|
}[] | undefined) => void)) => (value: {
|
|
216
216
|
[x: string]: any;
|
|
217
|
-
delay?: number | Function | undefined;
|
|
217
|
+
delay?: (number | Function) | undefined;
|
|
218
218
|
duration?: number | undefined;
|
|
219
|
-
ease?: string | Function | undefined;
|
|
219
|
+
ease?: (string | Function) | undefined;
|
|
220
220
|
easeParams?: any[] | undefined;
|
|
221
221
|
hold?: number | undefined;
|
|
222
222
|
repeat?: number | undefined;
|
|
@@ -224,12 +224,12 @@ export declare const GlobalSetterMap: {
|
|
|
224
224
|
yoyo?: boolean | undefined;
|
|
225
225
|
flipX?: boolean | undefined;
|
|
226
226
|
flipY?: boolean | undefined;
|
|
227
|
-
completeDelay?: string | number |
|
|
228
|
-
loop?: string | number |
|
|
229
|
-
loopDelay?: string | number |
|
|
227
|
+
completeDelay?: (string | number | Function | object | any[]) | undefined;
|
|
228
|
+
loop?: (string | number | Function | object | any[]) | undefined;
|
|
229
|
+
loopDelay?: (string | number | Function | object | any[]) | undefined;
|
|
230
230
|
paused?: boolean | undefined;
|
|
231
231
|
props?: {
|
|
232
|
-
[key: string]:
|
|
232
|
+
[key: string]: (number | string | Phaser.Types.Tweens.GetEndCallback | Phaser.Types.Tweens.TweenPropConfig);
|
|
233
233
|
} | undefined;
|
|
234
234
|
callbackScope?: any;
|
|
235
235
|
onComplete?: Phaser.Types.Tweens.TweenOnCompleteCallback | undefined;
|
|
@@ -253,6 +253,6 @@ export declare const GlobalSetterMap: {
|
|
|
253
253
|
onResume?: Phaser.Types.Tweens.TweenOnResumeCallback | undefined;
|
|
254
254
|
onResumeParams?: any[] | undefined;
|
|
255
255
|
persist?: boolean | undefined;
|
|
256
|
-
interpolation?: string | Function | undefined;
|
|
256
|
+
interpolation?: (string | Function) | undefined;
|
|
257
257
|
}[] | undefined) => Phaser.Tweens.TweenChain | undefined;
|
|
258
258
|
};
|