@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sound.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/sound.js"],"names":[],"mappings":"AAGA;IACE;;;;;;;OAOG;IACH,kBANW,IAAI,OACJ,MAAM,
|
|
1
|
+
{"version":3,"file":"sound.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/sound.js"],"names":[],"mappings":"AAGA;IACE;;;;;;;OAOG;IACH,kBANW,IAAI,OACJ,MAAM,WACN,MAAM,SACN,OAAO,YACP,OAAO,EAoEjB;IA5DC,WAAgB;IAChB,aAAe;IACf,YAAc;IACd,cAAgB;IAChB,YAAiB;IACjB,aAAmB;IACnB,kBAAqB;IACrB,sBAAsB;IACtB,kBAAkB;IAClB,oBAAoB;IACpB,iBAAiB;IACjB,mBAAmB;IACnB,iBAAiB;IACjB,iBAAiB;IACjB,gBAAmB;IACnB,uBAAuB;IACvB,mBAAmB;IACnB,mBAAsB;IACtB,sBAAuB;IACvB,mCAAqB;IACrB,yBAA4B;IAC5B,kBAAqB;IACrB,uBAA0B;IAC1B,kBAAwB;IACxB,oBAA0B;IAC1B,cAAoB;IACpB,YAAkB;IAClB,yBAA4B;IAC5B,iCAAoC;IAcpC,eAA0B;IAC1B,gBAA2B;IAC3B,iBAA4B;IAC5B,eAA0B;IAC1B,eAA0B;IAC1B,eAA0B;IAC1B,yBAAoC;IACpC,uBAAkC;IAClC,gBAAqB;IACrB,aAAmB;IACnB,gBAAmB;IACnB,oBAAoB;IACpB,sBAAsB;IACtB,oBAAoB;IACpB,mBAAmB;IACnB,oBAAoB;IACpB,kBAAkB;IAClB,iBAAoB;IAGtB;;;OAGG;IACH,sBAFW,MAAM,QAOhB;IAED;;;;;;;OAOG;IACH,gBANW,MAAM,SACN,MAAM,aACN,MAAM,WACN,MAAM,SACN,OAAO,QAYjB;IAED;;;OAGG;IACH,mBAFW,MAAM,QAIhB;IAED;;OAEG;IACH,uBA2BC;IAED;;OAEG;IACH,eA6CC;IAED;;;;OAIG;IACH,iBAHW,MAAM,GACJ,KAAK,CAIjB;IAED;;;;;;;;OAQG;IACH,aAPW,MAAM,YACN,MAAM,UACN,MAAM,QACN,OAAO,gBACP,OAAO,GACL,KAAK,CA+IjB;IA8MD;;OAEG;IACH,wBAUC;IArBD;;;OAGG;IACH,qBAEC;IA1MD;;;;;;OAMG;IACH,iBALW,MAAM,aACN,MAAM,WACN,MAAM,SACN,OAAO,QAIjB;IAED;;OAEG;IACH,cASC;IAED;;OAEG;IACH,eAgCC;IAED;;OAEG;IACH,aA4BC;IAED;;;;;OAKG;IACH,iBAJW,MAAM,SACN,OAAO,WACP,MAAM,QAQhB;IAED;;;OAGG;IACH,kBAFW,MAAM,QAIhB;IAED;;;;OAIG;IACH,kBAHW,MAAM,WACN,MAAM,QAQhB;IAED;;OAEG;IACH,qBAKC;IAED;;;OAGG;IACH,iBAFW,OAAO,QAqBjB;IAUD;;OAEG;IACH,uBAkBC;IA7BD;;;OAGG;IACH,oBAEC;CA+CF;qBApkBoB,QAAQ;uBACN,UAAU"}
|
|
@@ -19,14 +19,14 @@ export class SoundManager {
|
|
|
19
19
|
_sounds: any[];
|
|
20
20
|
_watchList: ArraySet;
|
|
21
21
|
_watching: boolean;
|
|
22
|
-
_watchCallback:
|
|
22
|
+
_watchCallback: Function;
|
|
23
23
|
_watchContext: any;
|
|
24
24
|
/**
|
|
25
25
|
* TBD.
|
|
26
26
|
*/
|
|
27
27
|
boot(): void;
|
|
28
28
|
masterGain: any;
|
|
29
|
-
onUnlockEventBinded: (event:
|
|
29
|
+
onUnlockEventBinded: (event: Event) => void;
|
|
30
30
|
/**
|
|
31
31
|
* TBD.
|
|
32
32
|
*/
|
|
@@ -37,9 +37,9 @@ export class SoundManager {
|
|
|
37
37
|
removeUnlockHandlers(): void;
|
|
38
38
|
/**
|
|
39
39
|
* TBD.
|
|
40
|
-
* @param event
|
|
40
|
+
* @param {Event} event - TBD.
|
|
41
41
|
*/
|
|
42
|
-
onUnlockEvent(event:
|
|
42
|
+
onUnlockEvent(event: Event): void;
|
|
43
43
|
/**
|
|
44
44
|
* TBD.
|
|
45
45
|
*/
|
|
@@ -59,11 +59,11 @@ export class SoundManager {
|
|
|
59
59
|
decode(key: string): void;
|
|
60
60
|
/**
|
|
61
61
|
* TBD.
|
|
62
|
-
* @param files
|
|
63
|
-
* @param callback - TBD.
|
|
64
|
-
* @param callbackContext
|
|
62
|
+
* @param files - TBD.
|
|
63
|
+
* @param {Function} callback - TBD.
|
|
64
|
+
* @param {object} callbackContext - TBD.
|
|
65
65
|
*/
|
|
66
|
-
setDecodedCallback(files: any, callback:
|
|
66
|
+
setDecodedCallback(files: any, callback: Function, callbackContext: object): void;
|
|
67
67
|
/**
|
|
68
68
|
* TBD.
|
|
69
69
|
*/
|
|
@@ -72,8 +72,8 @@ export class SoundManager {
|
|
|
72
72
|
* TBD.
|
|
73
73
|
* @param {string} key - TBD.
|
|
74
74
|
* @param volume - TBD.
|
|
75
|
-
* @param loop
|
|
76
|
-
* @param connect
|
|
75
|
+
* @param loop - TBD.
|
|
76
|
+
* @param connect - TBD.
|
|
77
77
|
*/
|
|
78
78
|
add(key: string, volume?: number, loop?: boolean, connect?: boolean): Sound;
|
|
79
79
|
/**
|
|
@@ -83,7 +83,7 @@ export class SoundManager {
|
|
|
83
83
|
addSprite(key: string): SoundSprite;
|
|
84
84
|
/**
|
|
85
85
|
* TBD.
|
|
86
|
-
* @param sound
|
|
86
|
+
* @param sound - TBD.
|
|
87
87
|
*/
|
|
88
88
|
remove(sound: any): boolean;
|
|
89
89
|
/**
|
|
@@ -95,7 +95,7 @@ export class SoundManager {
|
|
|
95
95
|
* TBD.
|
|
96
96
|
* @param {string} key - TBD.
|
|
97
97
|
* @param volume - TBD.
|
|
98
|
-
* @param loop
|
|
98
|
+
* @param loop - TBD.
|
|
99
99
|
*/
|
|
100
100
|
play(key: string, volume?: number, loop?: boolean): Sound;
|
|
101
101
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sound_manager.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/sound_manager.js"],"names":[],"mappings":"AAMA;IACE;;;OAGG;IACH,kBAFW,IAAI,EAoBd;IAjBC,WAAgB;IAChB,iBAA4B;IAC5B,aAAmB;IACnB,oBAAoB;IACpB,iBAAoB;IACpB,yBAA2B;IAC3B,kBAAqB;IACrB,qBAAuB;IACvB,oBAAuB;IACvB,gBAAmB;IACnB,mBAAyB;IACzB,gBAAgB;IAChB,eAAiB;IACjB,qBAAgC;IAChC,mBAAsB;IACtB,
|
|
1
|
+
{"version":3,"file":"sound_manager.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/sound_manager.js"],"names":[],"mappings":"AAMA;IACE;;;OAGG;IACH,kBAFW,IAAI,EAoBd;IAjBC,WAAgB;IAChB,iBAA4B;IAC5B,aAAmB;IACnB,oBAAoB;IACpB,iBAAoB;IACpB,yBAA2B;IAC3B,kBAAqB;IACrB,qBAAuB;IACvB,oBAAuB;IACvB,gBAAmB;IACnB,mBAAyB;IACzB,gBAAgB;IAChB,eAAiB;IACjB,qBAAgC;IAChC,mBAAsB;IACtB,yBAA0B;IAC1B,mBAAyB;IAG3B;;OAEG;IACH,aA0DC;IAvBG,gBAA+C;IAQjD,6BAiDS,KAAK,UAjD0C;IAiB1D;;OAEG;IACH,0BAUC;IAED;;OAEG;IACH,6BAUC;IAED;;;OAGG;IACH,qBAFW,KAAK,QAsCf;IAED;;OAEG;IACH,gBASC;IAED;;OAEG;IACH,iBASC;IAED;;OAEG;IACH,kBASC;IAED;;;OAGG;IACH,YAFW,MAAM,QAiBhB;IAED;;;;;OAKG;IACH,oEAFW,MAAM,QAyBhB;IAED;;OAEG;IACH,eAoBC;IAED;;;;;;OAMG;IACH,SALW,MAAM,6DAShB;IAED;;;OAGG;IACH,eAFW,MAAM,eAIhB;IAED;;;OAGG;IACH,4BAWC;IAED;;;OAGG;IACH,iBAFW,MAAM,UAchB;IAED;;;;;OAKG;IACH,UAJW,MAAM,0CAWhB;IAED;;OAEG;IACH,gBAUC;IAJG,iBAA6C;IAMjD;;OAEG;IACH,kBASC;IAED;;OAEG;IACH,gBAgBC;IASD;;OAEG;IACH,uBAcC;IAxBD;;OAEG;IACH,oBAEC;IA4BD;;OAEG;IACH,wBAYC;IAtBD;;OAEG;IACH,qBAEC;CAkBF;qBAtcoB,QAAQ;uBACN,UAAU;yBAFR,aAAa;sBAGhB,SAAS;4BACH,gBAAgB"}
|
|
@@ -13,18 +13,18 @@ export class SoundSprite {
|
|
|
13
13
|
sounds: {};
|
|
14
14
|
/**
|
|
15
15
|
* TBD.
|
|
16
|
-
* @param marker
|
|
16
|
+
* @param marker - TBD.
|
|
17
17
|
* @param volume - TBD.
|
|
18
18
|
*/
|
|
19
19
|
play(marker: any, volume?: number): any;
|
|
20
20
|
/**
|
|
21
21
|
* TBD.
|
|
22
|
-
* @param marker
|
|
22
|
+
* @param marker - TBD.
|
|
23
23
|
*/
|
|
24
24
|
stop(marker: any): void;
|
|
25
25
|
/**
|
|
26
26
|
* TBD.
|
|
27
|
-
* @param marker
|
|
27
|
+
* @param marker - TBD.
|
|
28
28
|
*/
|
|
29
29
|
get(marker: any): any;
|
|
30
30
|
}
|
|
@@ -30,36 +30,36 @@ export class Timer {
|
|
|
30
30
|
* @param delay - TBD.
|
|
31
31
|
* @param loop
|
|
32
32
|
* @param repeatCount
|
|
33
|
-
* @param callback - TBD.
|
|
33
|
+
* @param {Function} callback - TBD.
|
|
34
34
|
* @param callbackContext
|
|
35
35
|
* @param args - TBD.
|
|
36
36
|
*/
|
|
37
|
-
create(delay: any, loop: any, repeatCount: any, callback:
|
|
37
|
+
create(delay: any, loop: any, repeatCount: any, callback: Function, callbackContext: any, args: any): TimerEvent;
|
|
38
38
|
/**
|
|
39
39
|
* TBD.
|
|
40
40
|
* @param delay - TBD.
|
|
41
|
-
* @param callback - TBD.
|
|
41
|
+
* @param {Function} callback - TBD.
|
|
42
42
|
* @param callbackContext
|
|
43
43
|
* @param {...any} args
|
|
44
44
|
*/
|
|
45
|
-
add(delay: any, callback:
|
|
45
|
+
add(delay: any, callback: Function, callbackContext: any, ...args: any[]): TimerEvent;
|
|
46
46
|
/**
|
|
47
47
|
* TBD.
|
|
48
48
|
* @param delay - TBD.
|
|
49
49
|
* @param repeatCount
|
|
50
|
-
* @param callback - TBD.
|
|
50
|
+
* @param {Function} callback - TBD.
|
|
51
51
|
* @param callbackContext
|
|
52
52
|
* @param {...any} args
|
|
53
53
|
*/
|
|
54
|
-
repeat(delay: any, repeatCount: any, callback:
|
|
54
|
+
repeat(delay: any, repeatCount: any, callback: Function, callbackContext: any, ...args: any[]): TimerEvent;
|
|
55
55
|
/**
|
|
56
56
|
* TBD.
|
|
57
57
|
* @param delay - TBD.
|
|
58
|
-
* @param callback - TBD.
|
|
58
|
+
* @param {Function} callback - TBD.
|
|
59
59
|
* @param callbackContext
|
|
60
60
|
* @param {...any} args
|
|
61
61
|
*/
|
|
62
|
-
loop(delay: any, callback:
|
|
62
|
+
loop(delay: any, callback: Function, callbackContext: any, ...args: any[]): TimerEvent;
|
|
63
63
|
/**
|
|
64
64
|
* TBD.
|
|
65
65
|
* @param delay - TBD.
|
|
@@ -72,17 +72,17 @@ export class Timer {
|
|
|
72
72
|
stop(clearEvents?: boolean): void;
|
|
73
73
|
/**
|
|
74
74
|
* TBD.
|
|
75
|
-
* @param event
|
|
75
|
+
* @param {Event} event - TBD.
|
|
76
76
|
*/
|
|
77
|
-
remove(event:
|
|
77
|
+
remove(event: Event): boolean;
|
|
78
78
|
/**
|
|
79
79
|
* TBD.
|
|
80
80
|
*/
|
|
81
81
|
order(): void;
|
|
82
82
|
/**
|
|
83
83
|
* TBD.
|
|
84
|
-
* @param a
|
|
85
|
-
* @param b
|
|
84
|
+
* @param a - TBD.
|
|
85
|
+
* @param b - TBD.
|
|
86
86
|
*/
|
|
87
87
|
sortHandler(a: any, b: any): 0 | 1 | -1;
|
|
88
88
|
/**
|
|
@@ -91,7 +91,7 @@ export class Timer {
|
|
|
91
91
|
clearPendingEvents(): void;
|
|
92
92
|
/**
|
|
93
93
|
* TBD.
|
|
94
|
-
* @param time
|
|
94
|
+
* @param time - TBD.
|
|
95
95
|
*/
|
|
96
96
|
update(time: any): boolean;
|
|
97
97
|
/**
|
|
@@ -104,7 +104,7 @@ export class Timer {
|
|
|
104
104
|
_pause(): void;
|
|
105
105
|
/**
|
|
106
106
|
* TBD.
|
|
107
|
-
* @param baseTime
|
|
107
|
+
* @param baseTime - TBD.
|
|
108
108
|
*/
|
|
109
109
|
adjustEvents(baseTime: any): void;
|
|
110
110
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"timer.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/timer.js"],"names":[],"mappings":"AAIA;IACE;;;;OAIG;IACH,kBAHW,IAAI,gBACJ,OAAO,EAuBjB;IApBC,WAAgB;IAChB,iBAAoB;IACpB,qBAA8B;IAC9B,iBAAoB;IACpB,gBAAgB;IAChB,cAAgB;IAChB,mBAA8B;IAC9B,iBAAiB;IACjB,gBAAmB;IACnB,gBAAmB;IACnB,qBAAwB;IACxB,iBAAiB;IACjB,sBAAsB;IACtB,oBAAoB;IACpB,aAAsB;IACtB,aAAa;IACb,gBAAgB;IAChB,WAAW;IACX,cAAc;IACd,iBAAiB;IAGnB;;;;;;;;OAQG;IACH,
|
|
1
|
+
{"version":3,"file":"timer.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/timer.js"],"names":[],"mappings":"AAIA;IACE;;;;OAIG;IACH,kBAHW,IAAI,gBACJ,OAAO,EAuBjB;IApBC,WAAgB;IAChB,iBAAoB;IACpB,qBAA8B;IAC9B,iBAAoB;IACpB,gBAAgB;IAChB,cAAgB;IAChB,mBAA8B;IAC9B,iBAAiB;IACjB,gBAAmB;IACnB,gBAAmB;IACnB,qBAAwB;IACxB,iBAAiB;IACjB,sBAAsB;IACtB,oBAAoB;IACpB,aAAsB;IACtB,aAAa;IACb,gBAAgB;IAChB,WAAW;IACX,cAAc;IACd,iBAAiB;IAGnB;;;;;;;;OAQG;IACH,iHAaC;IAED;;;;;;OAMG;IACH,mEAFc,GAAG,gBAIhB;IAED;;;;;;;OAOG;IACH,wFAFc,GAAG,gBAIhB;IAED;;;;;;OAMG;IACH,oEAFc,GAAG,gBAIhB;IAED;;;OAGG;IACH,wBASC;IAED;;;OAGG;IACH,kCAKC;IAED;;;OAGG;IACH,cAFW,KAAK,WAUf;IAED;;OAEG;IACH,cAMC;IAED;;;;OAIG;IACH,wCAOC;IAED;;OAEG;IACH,2BAUC;IAED;;;OAGG;IACH,2BAqDC;IAED;;OAEG;IACH,cAUC;IAED;;OAEG;IACH,eAMC;IAED;;;OAGG;IACH,kCAkBC;IAED;;OAEG;IACH,eAUC;IAED;;OAEG;IACH,gBAKC;IAED;;OAEG;IACH,kBAKC;IAED;;OAEG;IACH,gBAMC;IAED;;OAEG;IACH,mBAEC;IAED;;OAEG;IACH,uBAKC;IAED;;OAEG;IACH,qBAEC;IAED;;OAEG;IACH,iBAKC;IAED;;OAEG;IACH,sBAKC;CACF;qBAjXoB,QAAQ;uBACN,UAAU;2BACN,eAAe"}
|
|
@@ -6,17 +6,17 @@ export class TimerEvent {
|
|
|
6
6
|
* @param tick - TBD.
|
|
7
7
|
* @param repeatCount - TBD.
|
|
8
8
|
* @param loop - TBD.
|
|
9
|
-
* @param callback - TBD.
|
|
10
|
-
* @param callbackContext - TBD.
|
|
9
|
+
* @param {Function} callback - TBD.
|
|
10
|
+
* @param {object} callbackContext - TBD.
|
|
11
11
|
* @param args - TBD.
|
|
12
12
|
*/
|
|
13
|
-
constructor(timer: any, delay: any, tick: any, repeatCount: any, loop: any, callback:
|
|
13
|
+
constructor(timer: any, delay: any, tick: any, repeatCount: any, loop: any, callback: Function, callbackContext: object, args: any);
|
|
14
14
|
timer: any;
|
|
15
15
|
delay: any;
|
|
16
16
|
tick: any;
|
|
17
17
|
repeatCount: number;
|
|
18
18
|
loop: any;
|
|
19
|
-
callback:
|
|
19
|
+
callback: Function;
|
|
20
20
|
callbackContext: any;
|
|
21
21
|
args: any;
|
|
22
22
|
pendingDelete: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"timer_event.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/timer_event.js"],"names":[],"mappings":"AAAA;IACE;;;;;;;;;;OAUG;IACH,
|
|
1
|
+
{"version":3,"file":"timer_event.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/timer_event.js"],"names":[],"mappings":"AAAA;IACE;;;;;;;;;;OAUG;IACH,iHAHW,MAAM,aAahB;IATC,WAAkB;IAClB,WAAkB;IAClB,UAAgB;IAChB,oBAAkC;IAClC,UAAgB;IAChB,mBAAwB;IACxB,qBAAsC;IACtC,UAAgB;IAChB,uBAA0B;CAE7B"}
|
|
@@ -24,7 +24,7 @@ export class Tween {
|
|
|
24
24
|
properties: {};
|
|
25
25
|
chainedTween: any;
|
|
26
26
|
isPaused: boolean;
|
|
27
|
-
_onUpdateCallback:
|
|
27
|
+
_onUpdateCallback: Function;
|
|
28
28
|
_onUpdateCallbackContext: any;
|
|
29
29
|
_pausedTime: number;
|
|
30
30
|
_codePaused: boolean;
|
|
@@ -130,10 +130,10 @@ export class Tween {
|
|
|
130
130
|
loop(value?: boolean): Tween;
|
|
131
131
|
/**
|
|
132
132
|
* TBD.
|
|
133
|
-
* @param callback - TBD.
|
|
133
|
+
* @param {Function} callback - TBD.
|
|
134
134
|
* @param callbackContext
|
|
135
135
|
*/
|
|
136
|
-
onUpdateCallback(callback:
|
|
136
|
+
onUpdateCallback(callback: Function, callbackContext: any): Tween;
|
|
137
137
|
/**
|
|
138
138
|
* TBD.
|
|
139
139
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tween.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/tween.js"],"names":[],"mappings":"AAMA;IACE;;;;;OAKG;IACH,+BAHW,IAAI,gBA2Bd;IAvBC,WAAgB;IAChB,YAAoB;IACpB,aAAsB;IACtB,gBAAkB;IAClB,iBAAoB;IACpB,kBAAkB;IAClB,sBAAsB;IACtB,uBAA0B;IAC1B,gBAA2B;IAC3B,eAA0B;IAC1B,iBAA4B;IAC5B,wBAAmC;IACnC,mBAA8B;IAC9B,mBAAsB;IACtB,gBAAgB;IAChB,eAAoB;IACpB,kBAAwB;IACxB,kBAAqB;IACrB,
|
|
1
|
+
{"version":3,"file":"tween.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/tween.js"],"names":[],"mappings":"AAMA;IACE;;;;;OAKG;IACH,+BAHW,IAAI,gBA2Bd;IAvBC,WAAgB;IAChB,YAAoB;IACpB,aAAsB;IACtB,gBAAkB;IAClB,iBAAoB;IACpB,kBAAkB;IAClB,sBAAsB;IACtB,uBAA0B;IAC1B,gBAA2B;IAC3B,eAA0B;IAC1B,iBAA4B;IAC5B,wBAAmC;IACnC,mBAA8B;IAC9B,mBAAsB;IACtB,gBAAgB;IAChB,eAAoB;IACpB,kBAAwB;IACxB,kBAAqB;IACrB,4BAA6B;IAC7B,8BAAoC;IACpC,oBAAoB;IACpB,qBAAwB;IACxB,qBAAwB;IAG1B;;;;;;;;;OASG;IACH,mIAYC;IAED;;;;;;;;;OASG;IACH,qIAaC;IAED;;;OAGG;IACH,6BA4BC;IAED;;;OAGG;IACH,gCAaC;IAED;;;;;OAKG;IACH,kEAYC;IAED;;;;OAIG;IACH,wCAEC;IAED;;;;;OAKG;IACH,gEAGC;IAED;;;;OAIG;IACH,8CAEC;IAED;;;;;OAKG;IACH,6DAGC;IAED;;;;OAIG;IACH,4CAEC;IAED;;;;OAIG;IACH,qCAKC;IAED;;;;;OAKG;IACH,qFAGC;IAED;;;OAGG;IACH,iCAGC;IAED;;;OAGG;IACH,eAFc,GAAG,WAahB;IAED;;;OAGG;IACH,6BAGC;IAED;;;;OAIG;IACH,kEAIC;IAED;;OAEG;IACH,cAIC;IAED;;OAEG;IACH,eAKC;IAED;;OAEG;IACH,eAUC;IAED;;OAEG;IACH,gBAIC;IAED;;;OAGG;IACH,2BA4EC;IAED;;;;OAIG;IACH,sDAwBC;IAED;;OAEG;IACH,4BAMC;CACF;qBAzboB,QAAQ;uBAJN,UAAU;2BAEN,cAAc"}
|
|
@@ -27,80 +27,88 @@ export class Group extends DisplayObject {
|
|
|
27
27
|
_sortProperty: string;
|
|
28
28
|
/**
|
|
29
29
|
* TBD.
|
|
30
|
-
* @param destroyChildren - TBD.
|
|
31
|
-
* @param soft - TBD.
|
|
30
|
+
* @param {boolean} destroyChildren - TBD.
|
|
31
|
+
* @param {boolean} soft - TBD.
|
|
32
32
|
*/
|
|
33
33
|
destroy(destroyChildren?: boolean, soft?: boolean): void;
|
|
34
34
|
filters: any;
|
|
35
35
|
/**
|
|
36
36
|
* TBD.
|
|
37
|
-
* @param child - TBD.
|
|
38
|
-
* @param silent - TBD.
|
|
39
|
-
* @param index - TBD.
|
|
37
|
+
* @param {DisplayObject} child - TBD.
|
|
38
|
+
* @param {boolean} silent - TBD.
|
|
39
|
+
* @param {number} index - TBD.
|
|
40
|
+
* @returns {DisplayObject} TBD.
|
|
40
41
|
*/
|
|
41
|
-
add(child:
|
|
42
|
+
add(child: DisplayObject, silent?: boolean, index?: number): DisplayObject;
|
|
42
43
|
/**
|
|
43
44
|
* TBD.
|
|
44
|
-
* @param child - TBD.
|
|
45
|
-
* @param index - TBD.
|
|
46
|
-
* @param silent - TBD.
|
|
45
|
+
* @param {DisplayObject} child - TBD.
|
|
46
|
+
* @param {number} index - TBD.
|
|
47
|
+
* @param {boolean} silent - TBD.
|
|
47
48
|
*/
|
|
48
|
-
addAt(child:
|
|
49
|
+
addAt(child: DisplayObject, index: number, silent: boolean): void;
|
|
49
50
|
/**
|
|
50
51
|
* TBD.
|
|
51
|
-
* @param index - TBD.
|
|
52
|
+
* @param {number} index - TBD.
|
|
53
|
+
* @returns {DisplayObject} TBD.
|
|
52
54
|
*/
|
|
53
|
-
getAt(index:
|
|
55
|
+
getAt(index: number): DisplayObject;
|
|
54
56
|
/**
|
|
55
57
|
* TBD.
|
|
56
58
|
*/
|
|
57
59
|
updateZ(): void;
|
|
58
60
|
/**
|
|
59
61
|
* TBD.
|
|
62
|
+
* @returns {DisplayObject} TBD.
|
|
60
63
|
*/
|
|
61
|
-
next():
|
|
64
|
+
next(): DisplayObject;
|
|
62
65
|
/**
|
|
63
66
|
* TBD.
|
|
67
|
+
* @returns {DisplayObject} TBD.
|
|
64
68
|
*/
|
|
65
|
-
previous():
|
|
69
|
+
previous(): DisplayObject;
|
|
66
70
|
/**
|
|
67
71
|
* TBD.
|
|
68
|
-
* @param child1 - TBD.
|
|
69
|
-
* @param child2 - TBD.
|
|
72
|
+
* @param {DisplayObject} child1 - TBD.
|
|
73
|
+
* @param {DisplayObject} child2 - TBD.
|
|
70
74
|
*/
|
|
71
|
-
swap(child1:
|
|
75
|
+
swap(child1: DisplayObject, child2: DisplayObject): void;
|
|
72
76
|
/**
|
|
73
77
|
* TBD.
|
|
74
|
-
* @param child - TBD.
|
|
78
|
+
* @param {DisplayObject} child - TBD.
|
|
79
|
+
* @returns {DisplayObject} TBD.
|
|
75
80
|
*/
|
|
76
|
-
bringToTop(child:
|
|
81
|
+
bringToTop(child: DisplayObject): DisplayObject;
|
|
77
82
|
/**
|
|
78
83
|
* TBD.
|
|
79
|
-
* @param child - TBD.
|
|
84
|
+
* @param {DisplayObject} child - TBD.
|
|
85
|
+
* @returns {DisplayObject} TBD.
|
|
80
86
|
*/
|
|
81
|
-
sendToBack(child:
|
|
87
|
+
sendToBack(child: DisplayObject): DisplayObject;
|
|
82
88
|
/**
|
|
83
89
|
* TBD.
|
|
84
90
|
*/
|
|
85
91
|
reverse(): void;
|
|
86
92
|
/**
|
|
87
93
|
* TBD.
|
|
88
|
-
* @param child - TBD.
|
|
94
|
+
* @param {DisplayObject} child - TBD.
|
|
95
|
+
* @returns {number} TBD.
|
|
89
96
|
*/
|
|
90
|
-
getIndex(child:
|
|
97
|
+
getIndex(child: DisplayObject): number;
|
|
91
98
|
renderOrderID: number;
|
|
92
99
|
/**
|
|
93
100
|
* TBD.
|
|
94
|
-
* @param child - TBD.
|
|
95
|
-
* @param destroy - TBD.
|
|
96
|
-
* @param silent - TBD.
|
|
101
|
+
* @param {DisplayObject} child - TBD.
|
|
102
|
+
* @param {boolean} destroy - TBD.
|
|
103
|
+
* @param {boolean} silent - TBD.
|
|
104
|
+
* @returns {boolean} TBD.
|
|
97
105
|
*/
|
|
98
|
-
remove(child:
|
|
106
|
+
remove(child: DisplayObject, destroy?: boolean, silent?: boolean): boolean;
|
|
99
107
|
/**
|
|
100
108
|
* TBD.
|
|
101
|
-
* @param destroy - TBD.
|
|
102
|
-
* @param silent - TBD.
|
|
103
|
-
* @param destroyTexture - TBD.
|
|
109
|
+
* @param {boolean} destroy - TBD.
|
|
110
|
+
* @param {boolean} silent - TBD.
|
|
111
|
+
* @param {boolean} destroyTexture - TBD.
|
|
104
112
|
*/
|
|
105
113
|
removeAll(destroy?: boolean, silent?: boolean, destroyTexture?: boolean): void;
|
|
106
114
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group.d.ts","sourceRoot":"","sources":["../../../src/phaser/display/group.js"],"names":[],"mappings":"AAMA,gCAAiC;AACjC,gCAAiC;AAEjC;IACE;;;;;;OAMG;IACH,kBALW,IAAI,WACJ,aAAa,SACb,MAAM,eACN,OAAO,EA8BjB;IA1BC,WAAgB;IAChB,aAAiB;IAIjB,aAA2B;IAC3B,UAAU;IAQV,uBAA0B;IAC1B,wBAA2B;IAC3B,wBAAsB;IACtB,YAAkB;IAClB,6BAAgC;IAChC,yBAAoC;IACpC,uBAAkC;IAClC,yBAAoC;IACpC,wBAAmC;IACnC,kBAA6B;IAC7B,oBAAoB;IACpB,sBAAwB;IAG1B;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"group.d.ts","sourceRoot":"","sources":["../../../src/phaser/display/group.js"],"names":[],"mappings":"AAMA,gCAAiC;AACjC,gCAAiC;AAEjC;IACE;;;;;;OAMG;IACH,kBALW,IAAI,WACJ,aAAa,SACb,MAAM,eACN,OAAO,EA8BjB;IA1BC,WAAgB;IAChB,aAAiB;IAIjB,aAA2B;IAC3B,UAAU;IAQV,uBAA0B;IAC1B,wBAA2B;IAC3B,wBAAsB;IACtB,YAAkB;IAClB,6BAAgC;IAChC,yBAAoC;IACpC,uBAAkC;IAClC,yBAAoC;IACpC,wBAAmC;IACnC,kBAA6B;IAC7B,oBAAoB;IACpB,sBAAwB;IAG1B;;;;OAIG;IACH,0BAHW,OAAO,SACP,OAAO,QAkBjB;IATC,aAAmB;IAWrB;;;;;;OAMG;IACH,WALW,aAAa,WACb,OAAO,UACP,MAAM,GACJ,aAAa,CAuBzB;IAED;;;;;OAKG;IACH,aAJW,aAAa,SACb,MAAM,UACN,OAAO,QAIjB;IAED;;;;OAIG;IACH,aAHW,MAAM,GACJ,aAAa,CAOzB;IAED;;OAEG;IACH,gBAMC;IAED;;;OAGG;IACH,QAFa,aAAa,CAczB;IAED;;;OAGG;IACH,YAFa,aAAa,CAczB;IAED;;;;OAIG;IACH,aAHW,aAAa,UACb,aAAa,QAKvB;IAED;;;;OAIG;IACH,kBAHW,aAAa,GACX,aAAa,CAQzB;IAED;;;;OAIG;IACH,kBAHW,aAAa,GACX,aAAa,CAQzB;IAED;;OAEG;IACH,gBAGC;IAED;;;;OAIG;IACH,gBAHW,aAAa,GACX,MAAM,CAIlB;IAWG,sBAAuB;IA4B3B;;;;;;OAMG;IACH,cALW,aAAa,YACb,OAAO,WACP,OAAO,GACL,OAAO,CAkBnB;IAED;;;;;OAKG;IACH,oBAJW,OAAO,WACP,OAAO,mBACP,OAAO,QAgBjB;CACF;8BAjT6B,kBAAkB;qBAG3B,cAAc;sBAFb,SAAS;uBACR,gBAAgB"}
|
|
@@ -19,6 +19,7 @@ export class Image extends DisplayObject {
|
|
|
19
19
|
blendMode: number;
|
|
20
20
|
shader: any;
|
|
21
21
|
_frame: any;
|
|
22
|
+
pendingDestroy: boolean;
|
|
22
23
|
events: EventManager;
|
|
23
24
|
animations: AnimationManager;
|
|
24
25
|
renderOrderID: number;
|
|
@@ -26,7 +27,7 @@ export class Image extends DisplayObject {
|
|
|
26
27
|
* TBD.
|
|
27
28
|
* @param {string} key - TBD.
|
|
28
29
|
* @param frame - TBD.
|
|
29
|
-
* @param stopAnimation - TBD.
|
|
30
|
+
* @param {boolean} stopAnimation - TBD.
|
|
30
31
|
*/
|
|
31
32
|
loadTexture(key: string, frame?: number, stopAnimation?: boolean): void;
|
|
32
33
|
customRender: boolean;
|
|
@@ -50,19 +51,20 @@ export class Image extends DisplayObject {
|
|
|
50
51
|
/**
|
|
51
52
|
* TBD.
|
|
52
53
|
*/
|
|
53
|
-
set frame(arg:
|
|
54
|
+
set frame(arg: number);
|
|
54
55
|
/**
|
|
55
56
|
* TBD.
|
|
56
57
|
*/
|
|
57
|
-
get frame():
|
|
58
|
+
get frame(): number;
|
|
58
59
|
/**
|
|
59
60
|
* TBD.
|
|
60
61
|
*/
|
|
61
|
-
set frameName(arg:
|
|
62
|
+
set frameName(arg: string);
|
|
62
63
|
/**
|
|
63
64
|
* TBD.
|
|
65
|
+
* @returns {string} TBD.
|
|
64
66
|
*/
|
|
65
|
-
get frameName():
|
|
67
|
+
get frameName(): string;
|
|
66
68
|
/**
|
|
67
69
|
* TBD.
|
|
68
70
|
* @param rect
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../src/phaser/display/image.js"],"names":[],"mappings":"AAUA;IACE;;;;;;;OAOG;IACH,kBANW,IAAI,KACJ,MAAM,KACN,MAAM,OACN,MAAM,SACN,MAAM,
|
|
1
|
+
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../src/phaser/display/image.js"],"names":[],"mappings":"AAUA;IACE;;;;;;;OAOG;IACH,kBANW,IAAI,KACJ,MAAM,KACN,MAAM,OACN,MAAM,SACN,MAAM,EA0BhB;IAtBC,WAAgB;IAChB,aAAiB;IAEjB,YAAc;IACd,aAAwD;IACxD,SAAc;IAGd,aAAoB;IACpB,mBAAoB;IACpB,mBAAyB;IACzB,kBAA6B;IAC7B,YAAkB;IAClB,YAAkB;IAClB,wBAA2B;IAK3B,qBAAoC;IACpC,6BAA4C;IAqC1C,sBAAuB;IAiB3B;;;;;OAKG;IACH,iBAJW,MAAM,kCAEN,OAAO,QAsCjB;IAzBC,sBAAyB;IA2B3B;;;OAGG;IACH,2BAuCC;IAFG,wBAA0B;IAI9B;;;;;OAKG;IACH,gCAHW,MAAM,UACN,MAAM,QAKhB;IAED;;OAEG;IACH,mBAIC;IASD;;OAEG;IACH,uBAEC;IAZD;;OAEG;IACH,oBAEC;IAiBD;;OAEG;IACH,2BAEC;IAbD;;;OAGG;IACH,wBAEC;IAWD;;;;OAIG;IACH,sCAeC;IAVK,cAAsE;IAMxE,WAAiB;IAMrB;;OAEG;IACH,mBA2BC;IAgCD;;OAEG;IACH,wBAQC;IAED;;;;OAIG;IACH,sDAEC;IAED;;;OAGG;IACH,6BAEC;IAED;;OAEG;IACH,sBAEC;IAED;;;;OAIG;IACH,oDAEC;IAED;;;;OAIG;IACH,qDAEC;CACF;8BAjX6B,kBAAkB;qBAC3B,cAAc;6BAHN,uBAAuB;iCADnB,2BAA2B"}
|