@vpmedia/phaser 1.16.0 → 1.17.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.
- package/README.md +1 -1
- package/package.json +1 -1
- package/src/phaser/core/animation.js +28 -16
- package/src/phaser/core/animation_manager.js +34 -20
- package/src/phaser/core/animation_parser.js +1 -1
- package/src/phaser/core/array_set.js +17 -9
- package/src/phaser/core/cache.js +61 -45
- package/src/phaser/core/factory.js +10 -10
- package/src/phaser/core/frame_data.js +1 -1
- package/src/phaser/core/input.js +37 -20
- package/src/phaser/core/input_handler.js +1 -1
- package/src/phaser/core/input_mouse.js +16 -12
- package/src/phaser/core/input_mspointer.js +7 -7
- package/src/phaser/core/input_pointer.js +26 -17
- package/src/phaser/core/input_touch.js +7 -7
- package/src/phaser/core/loader.js +104 -75
- package/src/phaser/core/raf.js +1 -1
- package/src/phaser/core/scale_manager.js +27 -27
- package/src/phaser/core/scene_manager.js +9 -9
- package/src/phaser/core/sound.js +3 -3
- package/src/phaser/core/sound_manager.js +8 -8
- package/src/phaser/core/sound_sprite.js +3 -3
- package/src/phaser/core/timer.js +9 -9
- package/src/phaser/core/timer_event.js +2 -2
- package/src/phaser/core/tween.js +1 -1
- package/src/phaser/display/group.js +28 -20
- package/src/phaser/display/image.js +3 -1
- package/types/phaser/core/animation.d.ts +38 -26
- package/types/phaser/core/animation.d.ts.map +1 -1
- package/types/phaser/core/animation_manager.d.ts +54 -39
- package/types/phaser/core/animation_manager.d.ts.map +1 -1
- package/types/phaser/core/animation_parser.d.ts +2 -2
- package/types/phaser/core/array_set.d.ts +24 -16
- package/types/phaser/core/array_set.d.ts.map +1 -1
- package/types/phaser/core/cache.d.ts +79 -73
- package/types/phaser/core/cache.d.ts.map +1 -1
- package/types/phaser/core/factory.d.ts +17 -17
- package/types/phaser/core/factory.d.ts.map +1 -1
- package/types/phaser/core/frame_data.d.ts +2 -2
- package/types/phaser/core/frame_data.d.ts.map +1 -1
- package/types/phaser/core/input.d.ts +49 -32
- package/types/phaser/core/input.d.ts.map +1 -1
- package/types/phaser/core/input_handler.d.ts +2 -2
- package/types/phaser/core/input_handler.d.ts.map +1 -1
- package/types/phaser/core/input_mouse.d.ts +20 -19
- package/types/phaser/core/input_mouse.d.ts.map +1 -1
- package/types/phaser/core/input_mspointer.d.ts +15 -15
- package/types/phaser/core/input_mspointer.d.ts.map +1 -1
- package/types/phaser/core/input_pointer.d.ts +39 -30
- package/types/phaser/core/input_pointer.d.ts.map +1 -1
- package/types/phaser/core/input_touch.d.ts +15 -15
- package/types/phaser/core/input_touch.d.ts.map +1 -1
- package/types/phaser/core/loader.d.ts +118 -92
- package/types/phaser/core/loader.d.ts.map +1 -1
- package/types/phaser/core/raf.d.ts +3 -3
- package/types/phaser/core/raf.d.ts.map +1 -1
- package/types/phaser/core/scale_manager.d.ts +34 -34
- package/types/phaser/core/scale_manager.d.ts.map +1 -1
- package/types/phaser/core/scene_manager.d.ts +9 -9
- package/types/phaser/core/sound.d.ts +4 -4
- package/types/phaser/core/sound.d.ts.map +1 -1
- package/types/phaser/core/sound_manager.d.ts +12 -12
- package/types/phaser/core/sound_manager.d.ts.map +1 -1
- package/types/phaser/core/sound_sprite.d.ts +3 -3
- package/types/phaser/core/timer.d.ts +14 -14
- package/types/phaser/core/timer.d.ts.map +1 -1
- package/types/phaser/core/timer_event.d.ts +4 -4
- package/types/phaser/core/timer_event.d.ts.map +1 -1
- package/types/phaser/core/tween.d.ts +3 -3
- package/types/phaser/core/tween.d.ts.map +1 -1
- package/types/phaser/display/group.d.ts +38 -30
- package/types/phaser/display/group.d.ts.map +1 -1
- package/types/phaser/display/image.d.ts +7 -5
- package/types/phaser/display/image.d.ts.map +1 -1
|
@@ -44,8 +44,8 @@ export class Loader {
|
|
|
44
44
|
_loadedFileCount: number;
|
|
45
45
|
/**
|
|
46
46
|
* TBD.
|
|
47
|
-
* @param sprite
|
|
48
|
-
* @param direction
|
|
47
|
+
* @param sprite - TBD.
|
|
48
|
+
* @param direction - TBD.
|
|
49
49
|
*/
|
|
50
50
|
setPreloadSprite(sprite: any, direction?: number): void;
|
|
51
51
|
/**
|
|
@@ -54,25 +54,25 @@ export class Loader {
|
|
|
54
54
|
resize(): void;
|
|
55
55
|
/**
|
|
56
56
|
* TBD.
|
|
57
|
-
* @param type
|
|
57
|
+
* @param type - TBD.
|
|
58
58
|
* @param {string} key - TBD.
|
|
59
|
+
* @returns {boolean} TBD.
|
|
59
60
|
*/
|
|
60
61
|
checkKeyExists(type: any, key: string): boolean;
|
|
61
62
|
/**
|
|
62
63
|
* TBD.
|
|
63
|
-
* @param type
|
|
64
|
+
* @param type - TBD.
|
|
64
65
|
* @param {string} key - TBD.
|
|
66
|
+
* @returns {number} TBD.
|
|
65
67
|
*/
|
|
66
68
|
getAssetIndex(type: any, key: string): number;
|
|
67
69
|
/**
|
|
68
70
|
* TBD.
|
|
69
|
-
* @param type
|
|
71
|
+
* @param type - TBD.
|
|
70
72
|
* @param {string} key - TBD.
|
|
73
|
+
* @returns {object} TBD.
|
|
71
74
|
*/
|
|
72
|
-
getAsset(type: any, key: string):
|
|
73
|
-
index: number;
|
|
74
|
-
file: any;
|
|
75
|
-
};
|
|
75
|
+
getAsset(type: any, key: string): object;
|
|
76
76
|
/**
|
|
77
77
|
* TBD.
|
|
78
78
|
* @param hard
|
|
@@ -81,125 +81,141 @@ export class Loader {
|
|
|
81
81
|
reset(hard: any, clearEvents?: boolean): void;
|
|
82
82
|
/**
|
|
83
83
|
* TBD.
|
|
84
|
-
* @param type
|
|
84
|
+
* @param type - TBD.
|
|
85
85
|
* @param {string} key - TBD.
|
|
86
|
-
* @param url
|
|
87
|
-
* @param properties
|
|
88
|
-
* @param overwrite
|
|
89
|
-
* @param extension
|
|
86
|
+
* @param {string} url - TBD.
|
|
87
|
+
* @param properties - TBD.
|
|
88
|
+
* @param overwrite - TBD.
|
|
89
|
+
* @param extension - TBD.
|
|
90
|
+
* @returns {Loader} TBD.
|
|
90
91
|
*/
|
|
91
|
-
addToFileList(type: any, key?: string, url?:
|
|
92
|
+
addToFileList(type: any, key?: string, url?: string, properties?: any, overwrite?: boolean, extension?: any): Loader;
|
|
92
93
|
/**
|
|
93
94
|
* TBD.
|
|
94
|
-
* @param type
|
|
95
|
+
* @param type - TBD.
|
|
95
96
|
* @param {string} key - TBD.
|
|
96
|
-
* @param url
|
|
97
|
-
* @param properties
|
|
97
|
+
* @param {string} url - TBD.
|
|
98
|
+
* @param properties - TBD.
|
|
99
|
+
* @returns {Loader} TBD.
|
|
98
100
|
*/
|
|
99
|
-
replaceInFileList(type: any, key: string, url:
|
|
101
|
+
replaceInFileList(type: any, key: string, url: string, properties: any): Loader;
|
|
100
102
|
/**
|
|
101
103
|
* TBD.
|
|
102
104
|
* @param {string} key - TBD.
|
|
103
|
-
* @param url
|
|
104
|
-
* @param data
|
|
105
|
-
* @param callbackContext
|
|
105
|
+
* @param {string} url - TBD.
|
|
106
|
+
* @param data - TBD.
|
|
107
|
+
* @param {object} callbackContext - TBD.
|
|
108
|
+
* @returns {Loader} TBD.
|
|
106
109
|
*/
|
|
107
|
-
pack(key: string, url:
|
|
110
|
+
pack(key: string, url: string, data: any, callbackContext: object): Loader;
|
|
108
111
|
/**
|
|
109
112
|
* TBD.
|
|
110
113
|
* @param {string} key - TBD.
|
|
111
|
-
* @param url
|
|
112
|
-
* @param overwrite
|
|
114
|
+
* @param {string} url - TBD.
|
|
115
|
+
* @param overwrite - TBD.
|
|
116
|
+
* @returns {Loader} TBD.
|
|
113
117
|
*/
|
|
114
|
-
image(key: string, url:
|
|
118
|
+
image(key: string, url: string, overwrite: any): Loader;
|
|
115
119
|
/**
|
|
116
120
|
* TBD.
|
|
117
|
-
* @param keys
|
|
118
|
-
* @param urls
|
|
121
|
+
* @param keys - TBD.
|
|
122
|
+
* @param urls - TBD.
|
|
123
|
+
* @returns {Loader} TBD.
|
|
119
124
|
*/
|
|
120
125
|
images(keys: any, urls: any): Loader;
|
|
121
126
|
/**
|
|
122
127
|
* TBD.
|
|
123
128
|
* @param {string} key - TBD.
|
|
124
|
-
* @param url
|
|
125
|
-
* @param overwrite
|
|
129
|
+
* @param {string} url - TBD.
|
|
130
|
+
* @param overwrite - TBD.
|
|
131
|
+
* @returns {Loader} TBD.
|
|
126
132
|
*/
|
|
127
|
-
text(key: string, url:
|
|
133
|
+
text(key: string, url: string, overwrite: any): Loader;
|
|
128
134
|
/**
|
|
129
135
|
* TBD.
|
|
130
136
|
* @param {string} key - TBD.
|
|
131
|
-
* @param url
|
|
132
|
-
* @param overwrite
|
|
137
|
+
* @param {string} url - TBD.
|
|
138
|
+
* @param overwrite - TBD.
|
|
139
|
+
* @returns {Loader} TBD.
|
|
133
140
|
*/
|
|
134
|
-
json(key: string, url:
|
|
141
|
+
json(key: string, url: string, overwrite: any): Loader;
|
|
135
142
|
/**
|
|
136
143
|
* TBD.
|
|
137
144
|
* @param {string} key - TBD.
|
|
138
|
-
* @param url
|
|
139
|
-
* @param overwrite
|
|
145
|
+
* @param {string} url - TBD.
|
|
146
|
+
* @param overwrite - TBD.
|
|
147
|
+
* @returns {Loader} TBD.
|
|
140
148
|
*/
|
|
141
|
-
xml(key: string, url:
|
|
149
|
+
xml(key: string, url: string, overwrite: any): Loader;
|
|
142
150
|
/**
|
|
143
151
|
* TBD.
|
|
144
152
|
* @param {string} key - TBD.
|
|
145
|
-
* @param url
|
|
146
|
-
* @param frameWidth
|
|
147
|
-
* @param frameHeight
|
|
148
|
-
* @param frameMax
|
|
149
|
-
* @param margin
|
|
150
|
-
* @param spacing
|
|
153
|
+
* @param {string} url - TBD.
|
|
154
|
+
* @param frameWidth - TBD.
|
|
155
|
+
* @param frameHeight - TBD.
|
|
156
|
+
* @param frameMax - TBD.
|
|
157
|
+
* @param margin - TBD.
|
|
158
|
+
* @param spacing - TBD.
|
|
159
|
+
* @returns {Loader} TBD.
|
|
151
160
|
*/
|
|
152
|
-
spritesheet(key: string, url:
|
|
161
|
+
spritesheet(key: string, url: string, frameWidth: any, frameHeight: any, frameMax?: number, margin?: number, spacing?: number): Loader;
|
|
153
162
|
/**
|
|
154
163
|
* TBD.
|
|
155
164
|
* @param {string} key - TBD.
|
|
156
165
|
* @param urls
|
|
157
166
|
* @param autoDecode
|
|
167
|
+
* @returns {Loader} TBD.
|
|
158
168
|
*/
|
|
159
169
|
audio(key: string, urls: any, autoDecode?: boolean): Loader;
|
|
160
170
|
/**
|
|
161
171
|
* TBD.
|
|
162
172
|
* @param {string} key - TBD.
|
|
163
|
-
* @param urls
|
|
164
|
-
* @param jsonURL
|
|
165
|
-
* @param jsonData
|
|
166
|
-
* @param autoDecode
|
|
173
|
+
* @param urls - TBD.
|
|
174
|
+
* @param jsonURL - TBD.
|
|
175
|
+
* @param jsonData - TBD.
|
|
176
|
+
* @param autoDecode - TBD.
|
|
177
|
+
* @returns {Loader} TBD.
|
|
167
178
|
*/
|
|
168
179
|
audioSprite(key: string, urls: any, jsonURL: any, jsonData: any, autoDecode?: boolean): Loader;
|
|
169
180
|
/**
|
|
170
181
|
* TBD.
|
|
171
182
|
* @param {string} key - TBD.
|
|
172
|
-
* @param textureURL
|
|
173
|
-
* @param atlasURL
|
|
174
|
-
* @param atlasData
|
|
175
|
-
* @param xSpacing
|
|
176
|
-
* @param ySpacing
|
|
183
|
+
* @param textureURL - TBD.
|
|
184
|
+
* @param atlasURL - TBD.
|
|
185
|
+
* @param atlasData - TBD.
|
|
186
|
+
* @param xSpacing - TBD.
|
|
187
|
+
* @param ySpacing - TBD.
|
|
188
|
+
* @returns {Loader} TBD.
|
|
189
|
+
* @throws Error.
|
|
177
190
|
*/
|
|
178
191
|
bitmapFont(key: string, textureURL?: any, atlasURL?: any, atlasData?: any, xSpacing?: number, ySpacing?: number): Loader;
|
|
179
192
|
/**
|
|
180
193
|
* TBD.
|
|
181
194
|
* @param {string} key - TBD.
|
|
182
|
-
* @param textureURL
|
|
183
|
-
* @param atlasURL
|
|
184
|
-
* @param atlasData
|
|
185
|
-
* @param format
|
|
195
|
+
* @param textureURL - TBD.
|
|
196
|
+
* @param atlasURL - TBD.
|
|
197
|
+
* @param atlasData - TBD.
|
|
198
|
+
* @param format - TBD.
|
|
199
|
+
* @returns {Loader} TBD.
|
|
186
200
|
*/
|
|
187
201
|
atlas(key: string, textureURL: any, atlasURL?: any, atlasData?: any, format?: number): Loader;
|
|
188
202
|
/**
|
|
189
203
|
* TBD.
|
|
190
|
-
* @param callback - TBD.
|
|
191
|
-
* @param callbackContext
|
|
204
|
+
* @param {Function} callback - TBD.
|
|
205
|
+
* @param {object} callbackContext - TBD.
|
|
206
|
+
* @returns {Loader} TBD.
|
|
192
207
|
*/
|
|
193
|
-
withSyncPoint(callback:
|
|
208
|
+
withSyncPoint(callback: Function, callbackContext: object): Loader;
|
|
194
209
|
/**
|
|
195
210
|
* TBD.
|
|
196
|
-
* @param type
|
|
211
|
+
* @param type - TBD.
|
|
197
212
|
* @param {string} key - TBD.
|
|
213
|
+
* @returns {Loader} TBD.
|
|
198
214
|
*/
|
|
199
215
|
addSyncPoint(type: any, key: string): Loader;
|
|
200
216
|
/**
|
|
201
217
|
* TBD.
|
|
202
|
-
* @param type
|
|
218
|
+
* @param type - TBD.
|
|
203
219
|
* @param {string} key - TBD.
|
|
204
220
|
*/
|
|
205
221
|
removeFile(type: any, key: string): void;
|
|
@@ -217,71 +233,74 @@ export class Loader {
|
|
|
217
233
|
processLoadQueue(): void;
|
|
218
234
|
/**
|
|
219
235
|
* TBD.
|
|
220
|
-
* @param abnormal
|
|
236
|
+
* @param abnormal - TBD.
|
|
221
237
|
*/
|
|
222
238
|
finishedLoading(abnormal: any): void;
|
|
223
239
|
/**
|
|
224
240
|
* TBD.
|
|
225
|
-
* @param file
|
|
226
|
-
* @param errorMessage
|
|
241
|
+
* @param file - TBD.
|
|
242
|
+
* @param errorMessage - TBD.
|
|
227
243
|
*/
|
|
228
244
|
asyncComplete(file: any, errorMessage?: string): void;
|
|
229
245
|
/**
|
|
230
246
|
* TBD.
|
|
231
|
-
* @param pack
|
|
247
|
+
* @param pack - TBD.
|
|
232
248
|
*/
|
|
233
249
|
processPack(pack: any): void;
|
|
234
250
|
/**
|
|
235
251
|
* TBD.
|
|
236
|
-
* @param url
|
|
237
|
-
* @param file
|
|
252
|
+
* @param {string} url - TBD.
|
|
253
|
+
* @param file - TBD.
|
|
254
|
+
* @returns {string} TBD.
|
|
238
255
|
*/
|
|
239
|
-
transformUrl(url:
|
|
256
|
+
transformUrl(url: string, file: any): string;
|
|
240
257
|
/**
|
|
241
258
|
* TBD.
|
|
242
|
-
* @param file
|
|
259
|
+
* @param file - TBD.
|
|
243
260
|
*/
|
|
244
261
|
loadFile(file: any): void;
|
|
245
262
|
/**
|
|
246
263
|
* TBD.
|
|
247
|
-
* @param file
|
|
264
|
+
* @param file - TBD.
|
|
248
265
|
*/
|
|
249
266
|
loadImageTag(file: any): void;
|
|
250
267
|
/**
|
|
251
268
|
* TBD.
|
|
252
|
-
* @param file
|
|
253
|
-
* @param url
|
|
254
|
-
* @param type
|
|
255
|
-
* @param onload
|
|
256
|
-
* @param onerror
|
|
269
|
+
* @param file - TBD.
|
|
270
|
+
* @param {string} url - TBD.
|
|
271
|
+
* @param type - TBD.
|
|
272
|
+
* @param onload - TBD.
|
|
273
|
+
* @param onerror - TBD.
|
|
257
274
|
*/
|
|
258
|
-
xhrLoad(file: any, url:
|
|
275
|
+
xhrLoad(file: any, url: string, type: any, onload: any, onerror: any): void;
|
|
259
276
|
/**
|
|
260
277
|
* TBD.
|
|
261
278
|
*/
|
|
262
279
|
xhrLoadWithXDR(): void;
|
|
263
280
|
/**
|
|
264
281
|
* TBD.
|
|
265
|
-
* @param urls
|
|
282
|
+
* @param urls - TBD.
|
|
283
|
+
* @returns {string} TBD.
|
|
266
284
|
*/
|
|
267
|
-
getAudioURL(urls: any):
|
|
285
|
+
getAudioURL(urls: any): string;
|
|
268
286
|
/**
|
|
269
287
|
* TBD.
|
|
270
|
-
* @param file
|
|
271
|
-
* @param xhr
|
|
272
|
-
* @param reason
|
|
288
|
+
* @param file - TBD.
|
|
289
|
+
* @param xhr - TBD.
|
|
290
|
+
* @param reason - TBD.
|
|
273
291
|
*/
|
|
274
292
|
fileError(file: any, xhr: any, reason: any): void;
|
|
275
293
|
/**
|
|
276
294
|
* TBD.
|
|
277
|
-
* @param file
|
|
278
|
-
* @param xhr
|
|
295
|
+
* @param file - TBD.
|
|
296
|
+
* @param xhr - TBD.
|
|
297
|
+
* @throws Error.
|
|
279
298
|
*/
|
|
280
299
|
fileComplete(file: any, xhr: any): void;
|
|
281
300
|
/**
|
|
282
301
|
* TBD.
|
|
283
|
-
* @param file
|
|
284
|
-
* @param xhr
|
|
302
|
+
* @param file - TBD.
|
|
303
|
+
* @param xhr - TBD.
|
|
285
304
|
*/
|
|
286
305
|
jsonLoadComplete(file: any, xhr: any): void;
|
|
287
306
|
/**
|
|
@@ -290,47 +309,54 @@ export class Loader {
|
|
|
290
309
|
csvLoadComplete(): void;
|
|
291
310
|
/**
|
|
292
311
|
* TBD.
|
|
293
|
-
* @param file
|
|
294
|
-
* @param xhr
|
|
312
|
+
* @param file - TBD.
|
|
313
|
+
* @param xhr - TBD.
|
|
295
314
|
*/
|
|
296
315
|
xmlLoadComplete(file: any, xhr: any): void;
|
|
297
316
|
/**
|
|
298
317
|
* TBD.
|
|
299
|
-
* @param data
|
|
318
|
+
* @param data - TBD.
|
|
319
|
+
* @returns {Document} TBD.
|
|
300
320
|
*/
|
|
301
|
-
parseXml(data: any):
|
|
321
|
+
parseXml(data: any): Document;
|
|
302
322
|
/**
|
|
303
323
|
* TBD.
|
|
304
324
|
*/
|
|
305
325
|
updateProgress(): void;
|
|
306
326
|
/**
|
|
307
327
|
* TBD.
|
|
308
|
-
* @param message
|
|
309
|
-
* @param data
|
|
328
|
+
* @param message - TBD.
|
|
329
|
+
* @param data - TBD.
|
|
310
330
|
*/
|
|
311
331
|
log(message: any, data?: string): void;
|
|
312
332
|
/**
|
|
313
333
|
* TBD.
|
|
334
|
+
* @returns {number} TBD.
|
|
314
335
|
*/
|
|
315
336
|
totalLoadedFiles(): number;
|
|
316
337
|
/**
|
|
317
338
|
* TBD.
|
|
339
|
+
* @returns {number} TBD.
|
|
318
340
|
*/
|
|
319
341
|
totalQueuedFiles(): number;
|
|
320
342
|
/**
|
|
321
343
|
* TBD.
|
|
344
|
+
* @returns {number} TBD.
|
|
322
345
|
*/
|
|
323
346
|
totalLoadedPacks(): number;
|
|
324
347
|
/**
|
|
325
348
|
* TBD.
|
|
349
|
+
* @returns {number} TBD.
|
|
326
350
|
*/
|
|
327
351
|
totalQueuedPacks(): number;
|
|
328
352
|
/**
|
|
329
353
|
* TBD.
|
|
354
|
+
* @returns {number} TBD.
|
|
330
355
|
*/
|
|
331
356
|
get progressFloat(): number;
|
|
332
357
|
/**
|
|
333
358
|
* TBD.
|
|
359
|
+
* @returns {number} TBD.
|
|
334
360
|
*/
|
|
335
361
|
get progress(): number;
|
|
336
362
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loader.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/loader.js"],"names":[],"mappings":"AAOA;IACE;;;OAGG;IACH,kBAFW,IAAI,EAmCd;IAhCC,WAAgB;IAChB,+BAAuB;IACvB,mBAAsB;IACtB,kBAAqB;IACrB,oBAAsB;IACtB,iBAAiB;IACjB,mBAAsB;IACtB;;;;;;MAAyB;IACzB,qBAAwB;IACxB,gBAAiB;IACjB,aAAc;IACd;;;;MAIC;IACD,oBAA+B;IAC/B,uBAAkC;IAClC,uBAAkC;IAClC,oBAA+B;IAC/B,uBAAkC;IAClC,oBAA+B;IAC/B,0BAAuE;IACvE,4BAA4B;IAC5B,iBAAmB;IACnB,oBAAsB;IACtB,wBAAwB;IACxB,0BAA6B;IAC7B,wBAAwB;IACxB,wBAAwB;IACxB,yBAAyB;IACzB,yBAAyB;IAG3B;;;;OAIG;IACH,wDAiBC;IAED;;OAEG;IACH,eAIC;IAED
|
|
1
|
+
{"version":3,"file":"loader.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/loader.js"],"names":[],"mappings":"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"}
|
|
@@ -6,7 +6,7 @@ export class RequestAnimationFrame {
|
|
|
6
6
|
constructor(game: Game);
|
|
7
7
|
game: Game;
|
|
8
8
|
rafId: number;
|
|
9
|
-
updateBinded: (rafTime:
|
|
9
|
+
updateBinded: (rafTime: number) => void;
|
|
10
10
|
/**
|
|
11
11
|
* TBD.
|
|
12
12
|
*/
|
|
@@ -17,9 +17,9 @@ export class RequestAnimationFrame {
|
|
|
17
17
|
stop(): void;
|
|
18
18
|
/**
|
|
19
19
|
* TBD.
|
|
20
|
-
* @param rafTime
|
|
20
|
+
* @param {number} rafTime - TBD.
|
|
21
21
|
*/
|
|
22
|
-
update(rafTime:
|
|
22
|
+
update(rafTime: number): void;
|
|
23
23
|
}
|
|
24
24
|
import { Game } from './game';
|
|
25
25
|
//# sourceMappingURL=raf.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"raf.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/raf.js"],"names":[],"mappings":"AAEA;IACE;;;OAGG;IACH,kBAFW,IAAI,EAMd;IAHC,WAAgB;IAChB,cAAc;IACd,
|
|
1
|
+
{"version":3,"file":"raf.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/raf.js"],"names":[],"mappings":"AAEA;IACE;;;OAGG;IACH,kBAFW,IAAI,EAMd;IAHC,WAAgB;IAChB,cAAc;IACd,wBAmBS,MAAM,UAnB2B;IAG5C;;OAEG;IACH,cAEC;IAED;;OAEG;IACH,aAEC;IAED;;;OAGG;IACH,gBAFW,MAAM,QAKhB;CACF;qBAnCoB,QAAQ"}
|
|
@@ -43,7 +43,7 @@ export class ScaleManager {
|
|
|
43
43
|
bounds: Rectangle;
|
|
44
44
|
aspectRatio: number;
|
|
45
45
|
sourceAspectRatio: number;
|
|
46
|
-
event:
|
|
46
|
+
event: Event;
|
|
47
47
|
windowConstraints: {
|
|
48
48
|
right: string;
|
|
49
49
|
bottom: string;
|
|
@@ -62,7 +62,7 @@ export class ScaleManager {
|
|
|
62
62
|
parentScaleFactor: Point;
|
|
63
63
|
trackParentInterval: number;
|
|
64
64
|
onSizeChange: Signal;
|
|
65
|
-
onResize:
|
|
65
|
+
onResize: Function;
|
|
66
66
|
onResizeContext: any;
|
|
67
67
|
_pendingScaleMode: any;
|
|
68
68
|
_fullScreenRestore: {
|
|
@@ -98,7 +98,7 @@ export class ScaleManager {
|
|
|
98
98
|
get scaleMode(): number;
|
|
99
99
|
/**
|
|
100
100
|
* TBD.
|
|
101
|
-
* @param config
|
|
101
|
+
* @param config - TBD.
|
|
102
102
|
*/
|
|
103
103
|
parseConfig(config: any): void;
|
|
104
104
|
/**
|
|
@@ -127,28 +127,28 @@ export class ScaleManager {
|
|
|
127
127
|
setGameSize(width: number, height: number): void;
|
|
128
128
|
/**
|
|
129
129
|
* TBD.
|
|
130
|
-
* @param hScale
|
|
131
|
-
* @param vScale
|
|
132
|
-
* @param hTrim
|
|
133
|
-
* @param vTrim
|
|
130
|
+
* @param hScale - TBD.
|
|
131
|
+
* @param vScale - TBD.
|
|
132
|
+
* @param hTrim - TBD.
|
|
133
|
+
* @param vTrim - TBD.
|
|
134
134
|
*/
|
|
135
135
|
setUserScale(hScale: any, vScale: any, hTrim: any, vTrim: any): void;
|
|
136
136
|
/**
|
|
137
137
|
* TBD.
|
|
138
|
-
* @param callback - TBD.
|
|
139
|
-
* @param context
|
|
138
|
+
* @param {Function} callback - TBD.
|
|
139
|
+
* @param context - TBD.
|
|
140
140
|
*/
|
|
141
|
-
setResizeCallback(callback:
|
|
141
|
+
setResizeCallback(callback: Function, context: any): void;
|
|
142
142
|
/**
|
|
143
143
|
* TBD.
|
|
144
144
|
*/
|
|
145
145
|
signalSizeChange(): void;
|
|
146
146
|
/**
|
|
147
147
|
* TBD.
|
|
148
|
-
* @param minWidth
|
|
149
|
-
* @param minHeight
|
|
150
|
-
* @param maxWidth
|
|
151
|
-
* @param maxHeight
|
|
148
|
+
* @param minWidth - TBD.
|
|
149
|
+
* @param minHeight - TBD.
|
|
150
|
+
* @param maxWidth - TBD.
|
|
151
|
+
* @param maxHeight - TBD.
|
|
152
152
|
*/
|
|
153
153
|
setMinMax(minWidth: any, minHeight: any, maxWidth: any, maxHeight: any): void;
|
|
154
154
|
/**
|
|
@@ -172,13 +172,13 @@ export class ScaleManager {
|
|
|
172
172
|
updateScalingAndBounds(): void;
|
|
173
173
|
/**
|
|
174
174
|
* TBD.
|
|
175
|
-
* @param forceLandscape
|
|
176
|
-
* @param forcePortrait
|
|
175
|
+
* @param forceLandscape - TBD.
|
|
176
|
+
* @param forcePortrait - TBD.
|
|
177
177
|
*/
|
|
178
178
|
forceOrientation(forceLandscape?: boolean, forcePortrait?: boolean): void;
|
|
179
179
|
/**
|
|
180
180
|
* TBD.
|
|
181
|
-
* @param orientation
|
|
181
|
+
* @param orientation - TBD.
|
|
182
182
|
*/
|
|
183
183
|
classifyOrientation(orientation: any): "portrait" | "landscape";
|
|
184
184
|
/**
|
|
@@ -187,14 +187,14 @@ export class ScaleManager {
|
|
|
187
187
|
updateOrientationState(): boolean;
|
|
188
188
|
/**
|
|
189
189
|
* TBD.
|
|
190
|
-
* @param event
|
|
190
|
+
* @param {Event} event - TBD.
|
|
191
191
|
*/
|
|
192
|
-
orientationChange(event:
|
|
192
|
+
orientationChange(event: Event): void;
|
|
193
193
|
/**
|
|
194
194
|
* TBD.
|
|
195
|
-
* @param event
|
|
195
|
+
* @param {Event} event - TBD.
|
|
196
196
|
*/
|
|
197
|
-
windowResize(event:
|
|
197
|
+
windowResize(event: Event): void;
|
|
198
198
|
/**
|
|
199
199
|
* TBD.
|
|
200
200
|
*/
|
|
@@ -210,8 +210,8 @@ export class ScaleManager {
|
|
|
210
210
|
getParentBounds(target: any): any;
|
|
211
211
|
/**
|
|
212
212
|
* TBD.
|
|
213
|
-
* @param horizontal
|
|
214
|
-
* @param vertical
|
|
213
|
+
* @param horizontal - TBD.
|
|
214
|
+
* @param vertical - TBD.
|
|
215
215
|
*/
|
|
216
216
|
alignCanvas(horizontal: any, vertical: any): void;
|
|
217
217
|
/**
|
|
@@ -224,13 +224,13 @@ export class ScaleManager {
|
|
|
224
224
|
reflowCanvas(): void;
|
|
225
225
|
/**
|
|
226
226
|
* TBD.
|
|
227
|
-
* @param cssWidth
|
|
228
|
-
* @param cssHeight
|
|
227
|
+
* @param cssWidth - TBD.
|
|
228
|
+
* @param cssHeight - TBD.
|
|
229
229
|
*/
|
|
230
230
|
resetCanvas(cssWidth?: string, cssHeight?: string): void;
|
|
231
231
|
/**
|
|
232
232
|
* TBD.
|
|
233
|
-
* @param force
|
|
233
|
+
* @param force - TBD.
|
|
234
234
|
*/
|
|
235
235
|
queueUpdate(force: any): void;
|
|
236
236
|
/**
|
|
@@ -243,7 +243,7 @@ export class ScaleManager {
|
|
|
243
243
|
setMaximum(): void;
|
|
244
244
|
/**
|
|
245
245
|
* TBD.
|
|
246
|
-
* @param expanding
|
|
246
|
+
* @param expanding - TBD.
|
|
247
247
|
*/
|
|
248
248
|
setShowAll(expanding?: boolean): void;
|
|
249
249
|
/**
|
|
@@ -256,8 +256,8 @@ export class ScaleManager {
|
|
|
256
256
|
createFullScreenTarget(): HTMLDivElement;
|
|
257
257
|
/**
|
|
258
258
|
* TBD.
|
|
259
|
-
* @param antialias
|
|
260
|
-
* @param allowTrampoline
|
|
259
|
+
* @param antialias - TBD.
|
|
260
|
+
* @param allowTrampoline - TBD.
|
|
261
261
|
*/
|
|
262
262
|
startFullScreen(antialias: any, allowTrampoline: any): boolean;
|
|
263
263
|
/**
|
|
@@ -270,19 +270,19 @@ export class ScaleManager {
|
|
|
270
270
|
cleanupCreatedTarget(): void;
|
|
271
271
|
/**
|
|
272
272
|
* TBD.
|
|
273
|
-
* @param enteringFullscreen
|
|
273
|
+
* @param enteringFullscreen - TBD.
|
|
274
274
|
*/
|
|
275
275
|
prepScreenMode(enteringFullscreen: any): void;
|
|
276
276
|
/**
|
|
277
277
|
* TBD.
|
|
278
|
-
* @param event
|
|
278
|
+
* @param {Event} event - TBD.
|
|
279
279
|
*/
|
|
280
|
-
fullScreenChange(event:
|
|
280
|
+
fullScreenChange(event: Event): void;
|
|
281
281
|
/**
|
|
282
282
|
* TBD.
|
|
283
|
-
* @param event
|
|
283
|
+
* @param {Event} event - TBD.
|
|
284
284
|
*/
|
|
285
|
-
fullScreenError(event:
|
|
285
|
+
fullScreenError(event: Event): void;
|
|
286
286
|
/**
|
|
287
287
|
* TBD.
|
|
288
288
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scale_manager.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/scale_manager.js"],"names":[],"mappings":"AAOA;IACE;;;;;OAKG;IACH,kBAJW,IAAI,SACJ,MAAM,UACN,MAAM,EA8EhB;IA3EC,WAAgB;IAChB,SAA+B;IAC/B,cAAc;IACd,eAAe;IACf,cAAoB;IACpB,cAAoB;IACpB,eAAqB;IACrB,eAAqB;IACrB,cAAyB;IACzB,wBAA2B;IAC3B,uBAA0B;IAC1B,8BAAiC;IACjC,gCAAmC;IACnC,8BAAiC;IACjC,4BAAuC;IACvC,kCAA6C;IAC7C,kCAA6C;IAC7C,gCAAmC;IACnC,sBAA4B;IAC5B,yCAAoC;IACpC,yBAAoC;IACpC,2BAAsC;IACtC,0BAAqC;IACrC,uBAAwD;IACxD,mBAAkC;IAClC,2BAA0C;IAC1C;;;;;;;MAOC;IACD,kBAA6B;IAC7B,oBAAoB;IACpB,0BAA0B;IAC1B,
|
|
1
|
+
{"version":3,"file":"scale_manager.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/scale_manager.js"],"names":[],"mappings":"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"}
|
|
@@ -2,7 +2,7 @@ export class SceneManager {
|
|
|
2
2
|
/**
|
|
3
3
|
* TBD.
|
|
4
4
|
* @param {Game} game - TBD.
|
|
5
|
-
* @param pendingState
|
|
5
|
+
* @param pendingState - TBD.
|
|
6
6
|
*/
|
|
7
7
|
constructor(game: Game, pendingState: any);
|
|
8
8
|
game: Game;
|
|
@@ -27,8 +27,8 @@ export class SceneManager {
|
|
|
27
27
|
/**
|
|
28
28
|
* TBD.
|
|
29
29
|
* @param {string} key - TBD.
|
|
30
|
-
* @param state
|
|
31
|
-
* @param autoStart
|
|
30
|
+
* @param state - TBD.
|
|
31
|
+
* @param autoStart - TBD.
|
|
32
32
|
*/
|
|
33
33
|
add(key: string, state: any, autoStart?: boolean): any;
|
|
34
34
|
/**
|
|
@@ -40,16 +40,16 @@ export class SceneManager {
|
|
|
40
40
|
/**
|
|
41
41
|
* TBD.
|
|
42
42
|
* @param {string} key - TBD.
|
|
43
|
-
* @param clearWorld
|
|
44
|
-
* @param clearCache
|
|
45
|
-
* @param {...any} args
|
|
43
|
+
* @param clearWorld - TBD.
|
|
44
|
+
* @param clearCache - TBD.
|
|
45
|
+
* @param {...any} args - TBD.
|
|
46
46
|
*/
|
|
47
47
|
start(key: string, clearWorld?: boolean, clearCache?: boolean, ...args: any[]): void;
|
|
48
48
|
/**
|
|
49
49
|
* TBD.
|
|
50
|
-
* @param clearWorld
|
|
51
|
-
* @param clearCache
|
|
52
|
-
* @param {...any} args
|
|
50
|
+
* @param clearWorld - TBD.
|
|
51
|
+
* @param clearCache - TBD.
|
|
52
|
+
* @param {...any} args - TBD.
|
|
53
53
|
*/
|
|
54
54
|
restart(clearWorld?: boolean, clearCache?: boolean, ...args: any[]): void;
|
|
55
55
|
/**
|
|
@@ -3,11 +3,11 @@ export class Sound {
|
|
|
3
3
|
* TBD.
|
|
4
4
|
* @param {Game} game - TBD.
|
|
5
5
|
* @param {string} key - TBD.
|
|
6
|
-
* @param volume - TBD.
|
|
7
|
-
* @param loop - TBD.
|
|
8
|
-
* @param connect - TBD.
|
|
6
|
+
* @param {number} volume - TBD.
|
|
7
|
+
* @param {boolean} loop - TBD.
|
|
8
|
+
* @param {boolean} connect - TBD.
|
|
9
9
|
*/
|
|
10
|
-
constructor(game: Game, key: string, volume?: number, loop?: boolean, connect?:
|
|
10
|
+
constructor(game: Game, key: string, volume?: number, loop?: boolean, connect?: boolean);
|
|
11
11
|
game: Game;
|
|
12
12
|
name: string;
|
|
13
13
|
key: string;
|