@vpmedia/phaser 1.21.0 → 1.22.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 +3 -3
- package/src/phaser/core/animation_manager.js +3 -3
- package/src/phaser/core/animation_parser.js +2 -2
- package/src/phaser/core/cache.js +2 -2
- package/src/phaser/core/dom.js +1 -1
- package/src/phaser/core/event_manager.js +1 -1
- package/src/phaser/core/factory.js +1 -1
- package/src/phaser/core/frame_data.js +7 -7
- package/src/phaser/core/input.js +3 -3
- package/src/phaser/core/input_handler.js +15 -15
- package/src/phaser/core/input_mouse.js +1 -1
- package/src/phaser/core/input_mspointer.js +1 -1
- package/src/phaser/core/input_pointer.js +2 -2
- package/src/phaser/core/input_touch.js +1 -1
- package/src/phaser/core/loader.js +1 -1
- package/src/phaser/core/raf.js +1 -1
- package/src/phaser/core/scale_manager.js +1 -1
- package/src/phaser/core/scene_manager.js +1 -1
- package/src/phaser/core/signal_binding.js +2 -2
- package/src/phaser/core/sound.js +1 -1
- package/src/phaser/core/sound_manager.js +1 -1
- package/src/phaser/core/sound_sprite.js +3 -3
- package/src/phaser/core/stage.js +1 -1
- package/src/phaser/core/time.js +1 -1
- package/src/phaser/core/timer.js +1 -1
- package/src/phaser/core/timer_event.js +1 -1
- package/src/phaser/core/tween.js +3 -3
- package/src/phaser/core/tween_data.js +1 -1
- package/src/phaser/core/tween_manager.js +1 -1
- package/src/phaser/core/world.js +1 -1
- package/src/phaser/display/bitmap_text.js +1 -1
- package/src/phaser/display/button.js +1 -1
- package/src/phaser/display/canvas/renderer.js +3 -3
- package/src/phaser/display/display_object.js +1 -1
- package/src/phaser/display/graphics.js +3 -3
- package/src/phaser/display/group.js +1 -1
- package/src/phaser/display/image.js +5 -5
- package/src/phaser/display/sprite_batch.js +1 -1
- package/src/phaser/display/sprite_util.js +2 -2
- package/src/phaser/display/text.js +2 -2
- package/src/phaser/display/webgl/fast_sprite_batch.js +2 -2
- package/src/phaser/display/webgl/render_texture.js +1 -1
- package/src/phaser/display/webgl/renderer.js +5 -5
- package/src/phaser/display/webgl/sprite_batch.js +2 -2
- package/src/phaser/display/webgl/stencil_manager.js +6 -6
- package/src/phaser/display/webgl/texture.js +1 -1
- package/types/phaser/core/animation.d.ts +8 -11
- package/types/phaser/core/animation.d.ts.map +1 -1
- package/types/phaser/core/animation_manager.d.ts +10 -12
- package/types/phaser/core/animation_manager.d.ts.map +1 -1
- package/types/phaser/core/animation_parser.d.ts +4 -5
- package/types/phaser/core/animation_parser.d.ts.map +1 -1
- package/types/phaser/core/cache.d.ts +70 -48
- package/types/phaser/core/cache.d.ts.map +1 -1
- package/types/phaser/core/dom.d.ts +8 -9
- package/types/phaser/core/dom.d.ts.map +1 -1
- package/types/phaser/core/event_manager.d.ts +3 -4
- package/types/phaser/core/event_manager.d.ts.map +1 -1
- package/types/phaser/core/factory.d.ts +3 -4
- package/types/phaser/core/factory.d.ts.map +1 -1
- package/types/phaser/core/frame_data.d.ts +12 -13
- package/types/phaser/core/frame_data.d.ts.map +1 -1
- package/types/phaser/core/input.d.ts +22 -23
- package/types/phaser/core/input.d.ts.map +1 -1
- package/types/phaser/core/input_handler.d.ts +34 -37
- package/types/phaser/core/input_handler.d.ts.map +1 -1
- package/types/phaser/core/input_mouse.d.ts +5 -6
- package/types/phaser/core/input_mouse.d.ts.map +1 -1
- package/types/phaser/core/input_mspointer.d.ts +4 -5
- package/types/phaser/core/input_mspointer.d.ts.map +1 -1
- package/types/phaser/core/input_pointer.d.ts +5 -6
- package/types/phaser/core/input_pointer.d.ts.map +1 -1
- package/types/phaser/core/input_touch.d.ts +4 -5
- package/types/phaser/core/input_touch.d.ts.map +1 -1
- package/types/phaser/core/loader.d.ts +104 -105
- package/types/phaser/core/loader.d.ts.map +1 -1
- package/types/phaser/core/raf.d.ts +3 -4
- package/types/phaser/core/raf.d.ts.map +1 -1
- package/types/phaser/core/scale_manager.d.ts +3 -4
- package/types/phaser/core/scale_manager.d.ts.map +1 -1
- package/types/phaser/core/scene_manager.d.ts +5 -6
- package/types/phaser/core/scene_manager.d.ts.map +1 -1
- package/types/phaser/core/signal_binding.d.ts +22 -15
- package/types/phaser/core/signal_binding.d.ts.map +1 -1
- package/types/phaser/core/sound.d.ts +3 -4
- package/types/phaser/core/sound.d.ts.map +1 -1
- package/types/phaser/core/sound_manager.d.ts +3 -4
- package/types/phaser/core/sound_manager.d.ts.map +1 -1
- package/types/phaser/core/sound_sprite.d.ts +7 -9
- package/types/phaser/core/sound_sprite.d.ts.map +1 -1
- package/types/phaser/core/stage.d.ts +3 -4
- package/types/phaser/core/stage.d.ts.map +1 -1
- package/types/phaser/core/time.d.ts +3 -4
- package/types/phaser/core/time.d.ts.map +1 -1
- package/types/phaser/core/timer.d.ts +3 -4
- package/types/phaser/core/timer.d.ts.map +1 -1
- package/types/phaser/core/timer_event.d.ts +3 -4
- package/types/phaser/core/timer_event.d.ts.map +1 -1
- package/types/phaser/core/tween.d.ts +16 -19
- package/types/phaser/core/tween.d.ts.map +1 -1
- package/types/phaser/core/tween_data.d.ts +5 -5
- package/types/phaser/core/tween_data.d.ts.map +1 -1
- package/types/phaser/core/tween_manager.d.ts +3 -4
- package/types/phaser/core/tween_manager.d.ts.map +1 -1
- package/types/phaser/core/world.d.ts +2 -3
- package/types/phaser/core/world.d.ts.map +1 -1
- package/types/phaser/display/bitmap_text.d.ts +3 -4
- package/types/phaser/display/bitmap_text.d.ts.map +1 -1
- package/types/phaser/display/button.d.ts +2 -3
- package/types/phaser/display/button.d.ts.map +1 -1
- package/types/phaser/display/canvas/renderer.d.ts +9 -10
- package/types/phaser/display/canvas/renderer.d.ts.map +1 -1
- package/types/phaser/display/display_object.d.ts +4 -3
- package/types/phaser/display/display_object.d.ts.map +1 -1
- package/types/phaser/display/graphics.d.ts +13 -15
- package/types/phaser/display/graphics.d.ts.map +1 -1
- package/types/phaser/display/group.d.ts +3 -4
- package/types/phaser/display/group.d.ts.map +1 -1
- package/types/phaser/display/image.d.ts +22 -22
- package/types/phaser/display/image.d.ts.map +1 -1
- package/types/phaser/display/sprite_batch.d.ts +3 -4
- package/types/phaser/display/sprite_batch.d.ts.map +1 -1
- package/types/phaser/display/sprite_util.d.ts +4 -5
- package/types/phaser/display/sprite_util.d.ts.map +1 -1
- package/types/phaser/display/text.d.ts +63 -53
- package/types/phaser/display/text.d.ts.map +1 -1
- package/types/phaser/display/webgl/abstract_filter.d.ts +3 -3
- package/types/phaser/display/webgl/abstract_filter.d.ts.map +1 -1
- package/types/phaser/display/webgl/fast_sprite_batch.d.ts +6 -6
- package/types/phaser/display/webgl/fast_sprite_batch.d.ts.map +1 -1
- package/types/phaser/display/webgl/graphics.d.ts +13 -12
- package/types/phaser/display/webgl/graphics.d.ts.map +1 -1
- package/types/phaser/display/webgl/render_texture.d.ts +3 -3
- package/types/phaser/display/webgl/render_texture.d.ts.map +1 -1
- package/types/phaser/display/webgl/renderer.d.ts +12 -13
- package/types/phaser/display/webgl/renderer.d.ts.map +1 -1
- package/types/phaser/display/webgl/shader/normal.d.ts +2 -2
- package/types/phaser/display/webgl/shader/normal.d.ts.map +1 -1
- package/types/phaser/display/webgl/shader_manager.d.ts +6 -5
- package/types/phaser/display/webgl/shader_manager.d.ts.map +1 -1
- package/types/phaser/display/webgl/sprite_batch.d.ts +5 -7
- package/types/phaser/display/webgl/sprite_batch.d.ts.map +1 -1
- package/types/phaser/display/webgl/stencil_manager.d.ts +9 -9
- package/types/phaser/display/webgl/stencil_manager.d.ts.map +1 -1
- package/types/phaser/display/webgl/texture.d.ts +3 -4
- package/types/phaser/display/webgl/texture.d.ts.map +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export class SoundManager {
|
|
2
2
|
/**
|
|
3
3
|
* TBD.
|
|
4
|
-
* @param {Game} game - TBD.
|
|
4
|
+
* @param {import('./game').Game} game - TBD.
|
|
5
5
|
*/
|
|
6
|
-
constructor(game: Game);
|
|
7
|
-
game: Game;
|
|
6
|
+
constructor(game: import('./game').Game);
|
|
7
|
+
game: import("./game").Game;
|
|
8
8
|
onChange: Signal;
|
|
9
9
|
context: any;
|
|
10
10
|
baseLatency: number;
|
|
@@ -135,7 +135,6 @@ export class SoundManager {
|
|
|
135
135
|
*/
|
|
136
136
|
get volume(): number;
|
|
137
137
|
}
|
|
138
|
-
import { Game } from './game';
|
|
139
138
|
import { Signal } from './signal';
|
|
140
139
|
import { ArraySet } from './array_set';
|
|
141
140
|
import { Sound } from './sound';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sound_manager.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/sound_manager.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sound_manager.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/sound_manager.js"],"names":[],"mappings":"AAKA;IACE;;;OAGG;IACH,kBAFW,OAAO,QAAQ,EAAE,IAAI,EAoB/B;IAjBC,4BAAgB;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,0BAJW,KAAK,EAAE,GAAC,MAAM,EAAE,uCAEhB,MAAM,QAyBhB;IAED;;OAEG;IACH,eAoBC;IAED;;;;;;;OAOG;IACH,SANW,MAAM,WACN,MAAM,SACN,OAAO,YACP,OAAO,GACL,KAAK,CAMjB;IAED;;;;OAIG;IACH,eAHW,MAAM,GACJ,WAAW,CAIvB;IAED;;;;OAIG;IACH,cAHW,KAAK,GACH,OAAO,CAanB;IAED;;;;OAIG;IACH,iBAHW,MAAM,GACJ,MAAM,CAclB;IAED;;;;;;OAMG;IACH,UALW,MAAM,WACN,MAAM,SACN,OAAO,GACL,KAAK,CASjB;IAED;;OAEG;IACH,gBAUC;IAJG,iBAA6C;IAMjD;;OAEG;IACH,kBASC;IAED;;OAEG;IACH,gBAgBC;IAUD;;OAEG;IACH,uBAcC;IAzBD;;;OAGG;IACH,oBAEC;IA6BD;;OAEG;IACH,wBAYC;IAvBD;;;OAGG;IACH,qBAEC;CAkBF;uBA5csB,UAAU;yBADR,aAAa;sBAEhB,SAAS;4BACH,gBAAgB"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export class SoundSprite {
|
|
2
2
|
/**
|
|
3
3
|
* TBD.
|
|
4
|
-
* @param {Game} game - TBD.
|
|
4
|
+
* @param {import('./game').Game} game - TBD.
|
|
5
5
|
* @param {string} key - TBD.
|
|
6
6
|
*/
|
|
7
|
-
constructor(game: Game, key: string);
|
|
8
|
-
game: Game;
|
|
7
|
+
constructor(game: import('./game').Game, key: string);
|
|
8
|
+
game: import("./game").Game;
|
|
9
9
|
key: string;
|
|
10
10
|
config: any;
|
|
11
11
|
autoplayKey: any;
|
|
@@ -15,9 +15,9 @@ export class SoundSprite {
|
|
|
15
15
|
* TBD.
|
|
16
16
|
* @param {string} marker - TBD.
|
|
17
17
|
* @param {number} volume - TBD.
|
|
18
|
-
* @returns {Sound} TBD.
|
|
18
|
+
* @returns {import('./sound').Sound} TBD.
|
|
19
19
|
*/
|
|
20
|
-
play(marker: string, volume?: number): Sound;
|
|
20
|
+
play(marker: string, volume?: number): import('./sound').Sound;
|
|
21
21
|
/**
|
|
22
22
|
* TBD.
|
|
23
23
|
* @param {string} marker - TBD.
|
|
@@ -26,10 +26,8 @@ export class SoundSprite {
|
|
|
26
26
|
/**
|
|
27
27
|
* TBD.
|
|
28
28
|
* @param {string} marker - TBD.
|
|
29
|
-
* @returns {Sound} TBD.
|
|
29
|
+
* @returns {import('./sound').Sound} TBD.
|
|
30
30
|
*/
|
|
31
|
-
get(marker: string): Sound;
|
|
31
|
+
get(marker: string): import('./sound').Sound;
|
|
32
32
|
}
|
|
33
|
-
import { Game } from './game';
|
|
34
|
-
import { Sound } from './sound';
|
|
35
33
|
//# sourceMappingURL=sound_sprite.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sound_sprite.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/sound_sprite.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sound_sprite.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/sound_sprite.js"],"names":[],"mappings":"AAAA;IACE;;;;OAIG;IACH,kBAHW,OAAO,QAAQ,EAAE,IAAI,OACrB,MAAM,EAoBhB;IAjBC,4BAAgB;IAChB,YAAc;IACd,YAA0D;IAC1D,iBAAuB;IACvB,cAAqB;IACrB,WAAgB;IAclB;;;;;OAKG;IACH,aAJW,MAAM,WACN,MAAM,GACJ,OAAO,SAAS,EAAE,KAAK,CAInC;IAED;;;OAGG;IACH,aAFW,MAAM,QAUhB;IAED;;;;OAIG;IACH,YAHW,MAAM,GACJ,OAAO,SAAS,EAAE,KAAK,CAInC;CACF"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export class Stage extends DisplayObject {
|
|
2
2
|
/**
|
|
3
3
|
* TBD.
|
|
4
|
-
* @param {Game} game - TBD.
|
|
4
|
+
* @param {import('./game').Game} game - TBD.
|
|
5
5
|
*/
|
|
6
|
-
constructor(game: Game);
|
|
7
|
-
game: Game;
|
|
6
|
+
constructor(game: import('./game').Game);
|
|
7
|
+
game: import("./game").Game;
|
|
8
8
|
name: string;
|
|
9
9
|
currentRenderOrderID: number;
|
|
10
10
|
_bgColor: {
|
|
@@ -48,5 +48,4 @@ export class Stage extends DisplayObject {
|
|
|
48
48
|
get smoothed(): boolean;
|
|
49
49
|
}
|
|
50
50
|
import { DisplayObject } from '../display/display_object';
|
|
51
|
-
import { Game } from './game';
|
|
52
51
|
//# sourceMappingURL=stage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stage.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/stage.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"stage.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/stage.js"],"names":[],"mappings":"AAMA;IACE;;;OAGG;IACH,kBAFW,OAAO,QAAQ,EAAE,IAAI,EAuB/B;IAnBC,4BAAgB;IAChB,aAAyB;IAEzB,6BAA6B;IAC7B;;;;;;;MAOC;IAUH;;;OAGG;IACH,0BAFW,MAAM,QAYhB;IAED;;OAEG;IACH,aAGC;IAkCD;;OAEG;IACH,wBAKC;IAoBD;;OAEG;IACH,iCAEC;IAbD;;;OAGG;IACH,8BAEC;IAiBD;;OAEG;IACH,2BAEC;IAbD;;;OAGG;IACH,wBAEC;CAQF;8BA1I6B,2BAA2B"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export class Time {
|
|
2
2
|
/**
|
|
3
3
|
* TBD.
|
|
4
|
-
* @param {Game} game - TBD.
|
|
4
|
+
* @param {import('./game').Game} game - TBD.
|
|
5
5
|
*/
|
|
6
|
-
constructor(game: Game);
|
|
7
|
-
game: Game;
|
|
6
|
+
constructor(game: import('./game').Game);
|
|
7
|
+
game: import("./game").Game;
|
|
8
8
|
time: number;
|
|
9
9
|
prevTime: number;
|
|
10
10
|
now: number;
|
|
@@ -111,6 +111,5 @@ export class Time {
|
|
|
111
111
|
*/
|
|
112
112
|
get desiredFps(): number;
|
|
113
113
|
}
|
|
114
|
-
import { Game } from './game';
|
|
115
114
|
import { Timer } from './timer';
|
|
116
115
|
//# sourceMappingURL=time.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"time.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/time.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"time.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/time.js"],"names":[],"mappings":"AAEA;IACE;;;OAGG;IACH,kBAFW,OAAO,QAAQ,EAAE,IAAI,EA8B/B;IA3BC,4BAAgB;IAChB,aAAa;IACb,iBAAiB;IACjB,YAAY;IACZ,gBAAgB;IAChB,kBAAkB;IAClB,uBAA8B;IAC9B,oBAAqB;IACrB,qBAAmC;IACnC,wBAA2B;IAC3B,eAAe;IACf,YAAY;IACZ,eAAkB;IAClB,eAAe;IACf,cAAiB;IACjB,cAAc;IACd,sBAAsB;IACtB,mBAAmB;IACnB,qBAAqB;IACrB,cAAyC;IACzC,oBAAoB;IACpB,4BAA4B;IAC5B,iBAAiB;IACjB,wBAAwB;IACxB,sBAAsB;IACtB,sBAAyB;IACzB,eAAiB;IAGnB;;OAEG;IACH,aAKC;IAED;;;;OAIG;IACH,WAHW,KAAK,GACH,KAAK,CAKjB;IAED;;;;OAIG;IACH,qBAHW,OAAO,GACL,KAAK,CAMjB;IAED;;OAEG;IACH,kBAMC;IAED;;OAEG;IACH,gBAMC;IAED;;;OAGG;IACH,aAFW,MAAM,QA0BhB;IAED;;OAEG;IACH,qBAYC;IAED;;OAEG;IACH,6BAqBC;IAED;;OAEG;IACH,mBAQC;IAED;;OAEG;IACH,oBASC;IAED;;;OAGG;IACH,uBAFa,MAAM,CAIlB;IAED;;;;OAIG;IACH,oBAHW,MAAM,GACJ,MAAM,CAIlB;IAED;;;;OAIG;IACH,2BAHW,MAAM,GACJ,MAAM,CAIlB;IAED;;OAEG;IACH,cAGC;IAED;;OAEG;IACH,gBAEC;IAUD;;OAEG;IACH,4BAGC;IAdD;;;OAGG;IACH,yBAEC;CASF;sBAtPqB,SAAS"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export class Timer {
|
|
2
2
|
/**
|
|
3
3
|
* TBD.
|
|
4
|
-
* @param {Game} game - TBD.
|
|
4
|
+
* @param {import('./game').Game} game - TBD.
|
|
5
5
|
* @param {boolean} autoDestroy - TBD.
|
|
6
6
|
*/
|
|
7
|
-
constructor(game: Game, autoDestroy?: boolean);
|
|
8
|
-
game: Game;
|
|
7
|
+
constructor(game: import('./game').Game, autoDestroy?: boolean);
|
|
8
|
+
game: import("./game").Game;
|
|
9
9
|
running: boolean;
|
|
10
10
|
autoDestroy: boolean;
|
|
11
11
|
expired: boolean;
|
|
@@ -156,7 +156,6 @@ export class Timer {
|
|
|
156
156
|
*/
|
|
157
157
|
get seconds(): number;
|
|
158
158
|
}
|
|
159
|
-
import { Game } from './game';
|
|
160
159
|
import { Signal } from './signal';
|
|
161
160
|
import { TimerEvent } from './timer_event';
|
|
162
161
|
//# sourceMappingURL=timer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"timer.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/timer.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"timer.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/timer.js"],"names":[],"mappings":"AAGA;IACE;;;;OAIG;IACH,kBAHW,OAAO,QAAQ,EAAE,IAAI,gBACrB,OAAO,EAuBjB;IApBC,4BAAgB;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;;;;;;;;;OASG;IACH,cARW,MAAM,QACN,OAAO,eACP,MAAM,uCAEN,MAAM,QACH,GAAG,KACJ,UAAU,CAetB;IAED;;;;;;;OAOG;IACH,WANW,MAAM,uCAEN,MAAM,WACH,GAAG,KACJ,UAAU,CAItB;IAED;;;;;;;;OAQG;IACH,cAPW,MAAM,eACN,MAAM,uCAEN,MAAM,WACH,GAAG,KACJ,UAAU,CAItB;IAED;;;;;;;OAOG;IACH,YANW,MAAM,uCAEN,MAAM,WACH,GAAG,KACJ,UAAU,CAItB;IAED;;;OAGG;IACH,aAFW,MAAM,QAWhB;IAED;;;OAGG;IACH,mBAFW,OAAO,QAOjB;IAED;;;;OAIG;IACH,cAHW,KAAK,GACH,OAAO,CAUnB;IAED;;OAEG;IACH,cAMC;IAED;;;;;OAKG;IACH,eAJW,UAAU,KACV,UAAU,GACR,MAAM,CASlB;IAED;;OAEG;IACH,2BAUC;IAED;;;;OAIG;IACH,aAHW,MAAM,GACJ,OAAO,CAuDnB;IAED;;OAEG;IACH,cAUC;IAED;;OAEG;IACH,eAMC;IAED;;;OAGG;IACH,uBAFW,MAAM,QAoBhB;IAED;;OAEG;IACH,eAUC;IAED;;OAEG;IACH,gBAKC;IAED;;OAEG;IACH,kBAKC;IAED;;OAEG;IACH,gBAMC;IAED;;;OAGG;IACH,mBAEC;IAED;;;OAGG;IACH,uBAKC;IAED;;;OAGG;IACH,qBAEC;IAED;;;OAGG;IACH,iBAKC;IAED;;;OAGG;IACH,sBAKC;CACF;uBA5XsB,UAAU;2BACN,eAAe"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export class TimerEvent {
|
|
2
2
|
/**
|
|
3
3
|
* TBD.
|
|
4
|
-
* @param {Timer} timer - TBD.
|
|
4
|
+
* @param {import('./timer').Timer} timer - TBD.
|
|
5
5
|
* @param {number} delay - TBD.
|
|
6
6
|
* @param {number} tick - TBD.
|
|
7
7
|
* @param {number} repeatCount - TBD.
|
|
@@ -10,8 +10,8 @@ export class TimerEvent {
|
|
|
10
10
|
* @param {object} callbackContext - TBD.
|
|
11
11
|
* @param {...any} args - TBD.
|
|
12
12
|
*/
|
|
13
|
-
constructor(timer: Timer, delay: number, tick: number, repeatCount: number, loop: boolean, callback: Function, callbackContext: object, args: any[]);
|
|
14
|
-
timer: Timer;
|
|
13
|
+
constructor(timer: import('./timer').Timer, delay: number, tick: number, repeatCount: number, loop: boolean, callback: Function, callbackContext: object, args: any[]);
|
|
14
|
+
timer: import("./timer").Timer;
|
|
15
15
|
delay: number;
|
|
16
16
|
tick: number;
|
|
17
17
|
repeatCount: number;
|
|
@@ -21,5 +21,4 @@ export class TimerEvent {
|
|
|
21
21
|
args: any;
|
|
22
22
|
pendingDelete: boolean;
|
|
23
23
|
}
|
|
24
|
-
import { Timer } from './timer';
|
|
25
24
|
//# sourceMappingURL=timer_event.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"timer_event.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/timer_event.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"timer_event.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/timer_event.js"],"names":[],"mappings":"AAAA;IACE;;;;;;;;;;OAUG;IACH,mBATW,OAAO,SAAS,EAAE,KAAK,SACvB,MAAM,QACN,MAAM,eACN,MAAM,QACN,OAAO,uCAEP,MAAM,QACH,GAAG,IAYhB;IATC,+BAAkB;IAClB,cAAkB;IAClB,aAAgB;IAChB,oBAAkC;IAClC,cAAgB;IAChB,mBAAwB;IACxB,qBAAsC;IACtC,UAAgB;IAChB,uBAA0B;CAE7B"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export class Tween {
|
|
2
2
|
/**
|
|
3
3
|
* TBD.
|
|
4
|
-
* @param {DisplayObject} target - TBD.
|
|
5
|
-
* @param {Game} game - TBD.
|
|
6
|
-
* @param {TweenManager} manager - TBD.
|
|
7
|
-
*/
|
|
8
|
-
constructor(target: DisplayObject, game: Game, manager: TweenManager);
|
|
9
|
-
game: Game;
|
|
10
|
-
target: DisplayObject;
|
|
11
|
-
manager: TweenManager;
|
|
4
|
+
* @param {import('../display/display_object').DisplayObject} target - TBD.
|
|
5
|
+
* @param {import('./game').Game} game - TBD.
|
|
6
|
+
* @param {import('./tween_manager').TweenManager} manager - TBD.
|
|
7
|
+
*/
|
|
8
|
+
constructor(target: import('../display/display_object').DisplayObject, game: import('./game').Game, manager: import('./tween_manager').TweenManager);
|
|
9
|
+
game: import("./game").Game;
|
|
10
|
+
target: import("../display/display_object").DisplayObject;
|
|
11
|
+
manager: import("./tween_manager").TweenManager;
|
|
12
12
|
timeline: any[];
|
|
13
13
|
reverse: boolean;
|
|
14
14
|
timeScale: number;
|
|
@@ -68,11 +68,11 @@ export class Tween {
|
|
|
68
68
|
/**
|
|
69
69
|
* TBD.
|
|
70
70
|
* @param {string} property - TBD.
|
|
71
|
-
* @param {
|
|
71
|
+
* @param {object} value - TBD.
|
|
72
72
|
* @param {number} index - TBD.
|
|
73
73
|
* @returns {Tween} TBD.
|
|
74
74
|
*/
|
|
75
|
-
updateTweenData(property: string, value:
|
|
75
|
+
updateTweenData(property: string, value: object, index?: number): Tween;
|
|
76
76
|
/**
|
|
77
77
|
* TBD.
|
|
78
78
|
* @param {number} duration - TBD.
|
|
@@ -119,12 +119,12 @@ export class Tween {
|
|
|
119
119
|
easing(ease: string | Function, index: number): Tween;
|
|
120
120
|
/**
|
|
121
121
|
* TBD.
|
|
122
|
-
* @param interpolation - TBD.
|
|
123
|
-
* @param context - TBD.
|
|
122
|
+
* @param {Function} interpolation - TBD.
|
|
123
|
+
* @param {object} context - TBD.
|
|
124
124
|
* @param {number} index - TBD.
|
|
125
125
|
* @returns {Tween} TBD.
|
|
126
126
|
*/
|
|
127
|
-
interpolation(interpolation:
|
|
127
|
+
interpolation(interpolation: Function, context?: object, index?: number): Tween;
|
|
128
128
|
/**
|
|
129
129
|
* TBD.
|
|
130
130
|
* @param {number} total - TBD.
|
|
@@ -175,18 +175,15 @@ export class Tween {
|
|
|
175
175
|
/**
|
|
176
176
|
* TBD.
|
|
177
177
|
* @param {number} frameRate - TBD.
|
|
178
|
-
* @param data - TBD.
|
|
178
|
+
* @param {object[]} data - TBD.
|
|
179
|
+
* @returns {object[]} TBD.
|
|
179
180
|
*/
|
|
180
|
-
generateData(frameRate?: number, data?:
|
|
181
|
+
generateData(frameRate?: number, data?: object[]): object[];
|
|
181
182
|
/**
|
|
182
183
|
* TBD.
|
|
183
184
|
* @returns {number} TBD.
|
|
184
185
|
*/
|
|
185
186
|
get totalDuration(): number;
|
|
186
187
|
}
|
|
187
|
-
import { Game } from './game';
|
|
188
|
-
import { DisplayObject } from '../display/display_object';
|
|
189
|
-
import { TweenManager } from './tween_manager';
|
|
190
188
|
import { Signal } from './signal';
|
|
191
|
-
import * as MathUtils from '../util/math';
|
|
192
189
|
//# sourceMappingURL=tween.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tween.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/tween.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tween.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/tween.js"],"names":[],"mappings":"AAKA;IACE;;;;;OAKG;IACH,oBAJW,OAAO,2BAA2B,EAAE,aAAa,QACjD,OAAO,QAAQ,EAAE,IAAI,WACrB,OAAO,iBAAiB,EAAE,YAAY,EA0BhD;IAvBC,4BAAgB;IAChB,0DAAoB;IACpB,gDAAsB;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;;;;;;;;;;OAUG;IACH,eATW,MAAM,aACN,MAAM,SACN,MAAM,cACN,OAAO,UACP,MAAM,WACN,MAAM,SACN,OAAO,GACL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CACF;uBA/csB,UAAU"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export class TweenData {
|
|
2
2
|
/**
|
|
3
3
|
* TBD.
|
|
4
|
-
* @param parent - TBD.
|
|
4
|
+
* @param {import('./tween').Tween} parent - TBD.
|
|
5
5
|
*/
|
|
6
|
-
constructor(parent:
|
|
7
|
-
parent:
|
|
8
|
-
game:
|
|
6
|
+
constructor(parent: import('./tween').Tween);
|
|
7
|
+
parent: import("./tween").Tween;
|
|
8
|
+
game: import("./game").Game;
|
|
9
9
|
vStart: {};
|
|
10
10
|
vStartCache: {};
|
|
11
11
|
vEnd: {};
|
|
@@ -22,7 +22,7 @@ export class TweenData {
|
|
|
22
22
|
inReverse: boolean;
|
|
23
23
|
delay: number;
|
|
24
24
|
dt: number;
|
|
25
|
-
startTime:
|
|
25
|
+
startTime: number;
|
|
26
26
|
easingFunction: string;
|
|
27
27
|
interpolationFunction: typeof MathUtils.linearInterpolation;
|
|
28
28
|
interpolationContext: typeof MathUtils;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tween_data.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/tween_data.js"],"names":[],"mappings":"AAGA;IACE;;;OAGG;IACH,
|
|
1
|
+
{"version":3,"file":"tween_data.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/tween_data.js"],"names":[],"mappings":"AAGA;IACE;;;OAGG;IACH,oBAFW,OAAO,SAAS,EAAE,KAAK,EA2BjC;IAxBC,gCAAoB;IACpB,4BAAuB;IACvB,WAAgB;IAChB,gBAAqB;IACrB,SAAc;IACd,cAAmB;IACnB,iBAAoB;IACpB,gBAAgB;IAChB,cAAc;IACd,sBAAsB;IACtB,oBAAoB;IACpB,oBAAoB;IACpB,qBAAwB;IACxB,cAAiB;IACjB,kBAAkB;IAClB,mBAAsB;IACtB,cAAc;IACd,WAAW;IACX,kBAAqB;IACrB,uBAA8B;IAC9B,4DAA0D;IAC1D,uCAAqC;IACrC,mBAAsB;IACtB,gBAAmB;IAGrB;;;;;;;;;OASG;IACH,eARW,MAAM,YACN,MAAM,QACN,MAAM,SACN,MAAM,UACN,MAAM,QACN,OAAO,GACL,SAAS,CAWrB;IAED;;;;;;;;;OASG;IACH,iBARW,MAAM,YACN,MAAM,QACN,MAAM,SACN,MAAM,UACN,MAAM,QACN,OAAO,GACL,SAAS,CAWrB;IAED;;;OAGG;IACH,SAFa,SAAS,CA4BrB;IAHC,oBAAoB;IAKtB;;;OAGG;IACH,cAFa,SAAS,CAiCrB;IAED;;;;OAIG;IACH,aAHW,MAAM,GACJ,MAAM,CAsClB;IAED;;;;OAIG;IACH,wBAHW,MAAM,GACJ,MAAM,EAAE,CA4CpB;IAED;;;OAGG;IACH,UAFa,MAAM,CAuDlB;CACF;2BAxS0B,cAAc"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export class TweenManager {
|
|
2
2
|
/**
|
|
3
3
|
* TBD.
|
|
4
|
-
* @param {Game} game - TBD.
|
|
4
|
+
* @param {import('./game').Game} game - TBD.
|
|
5
5
|
*/
|
|
6
|
-
constructor(game: Game);
|
|
7
|
-
game: Game;
|
|
6
|
+
constructor(game: import('./game').Game);
|
|
7
|
+
game: import("./game").Game;
|
|
8
8
|
_tweens: any[];
|
|
9
9
|
_add: any[];
|
|
10
10
|
easeMap: {
|
|
@@ -109,7 +109,6 @@ export class TweenManager {
|
|
|
109
109
|
*/
|
|
110
110
|
resumeAll(): void;
|
|
111
111
|
}
|
|
112
|
-
import { Game } from './game';
|
|
113
112
|
import { LinearNone } from './tween_easing';
|
|
114
113
|
import { QuadraticOut } from './tween_easing';
|
|
115
114
|
import { CubicOut } from './tween_easing';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tween_manager.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/tween_manager.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tween_manager.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/tween_manager.js"],"names":[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BD.
|
|
4
|
-
* @param {Game} game - TBD.
|
|
4
|
+
* @param {import('./game').Game} game - TBD.
|
|
5
5
|
*/
|
|
6
|
-
constructor(game: Game);
|
|
6
|
+
constructor(game: import('./game').Game);
|
|
7
7
|
/**
|
|
8
8
|
* TBD.
|
|
9
9
|
*/
|
|
10
10
|
boot(): void;
|
|
11
11
|
}
|
|
12
12
|
import { Group } from '../display/group';
|
|
13
|
-
import { Game } from './game';
|
|
14
13
|
//# sourceMappingURL=world.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"world.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/world.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"world.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/world.js"],"names":[],"mappings":"AAEA;IACE;;;OAGG;IACH,kBAFW,OAAO,QAAQ,EAAE,IAAI,EAI/B;IAED;;OAEG;IACH,aAEC;CACF;sBAjBqB,kBAAkB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export class BitmapText extends DisplayObject {
|
|
2
2
|
/**
|
|
3
3
|
* TBD.
|
|
4
|
-
* @param {Game} game - TBD.
|
|
4
|
+
* @param {import('../core/game').Game} game - TBD.
|
|
5
5
|
* @param {number} x - TBD.
|
|
6
6
|
* @param {number} y - TBD.
|
|
7
7
|
* @param {string} font - TBD.
|
|
@@ -9,8 +9,8 @@ export class BitmapText extends DisplayObject {
|
|
|
9
9
|
* @param {number} size - TBD.
|
|
10
10
|
* @param {string} align - TBD.
|
|
11
11
|
*/
|
|
12
|
-
constructor(game: Game, x?: number, y?: number, font?: string, text?: string, size?: number, align?: string);
|
|
13
|
-
game: Game;
|
|
12
|
+
constructor(game: import('../core/game').Game, x?: number, y?: number, font?: string, text?: string, size?: number, align?: string);
|
|
13
|
+
game: import("../core/game").Game;
|
|
14
14
|
type: number;
|
|
15
15
|
textWidth: number;
|
|
16
16
|
textHeight: number;
|
|
@@ -132,6 +132,5 @@ export class BitmapText extends DisplayObject {
|
|
|
132
132
|
get smoothed(): boolean;
|
|
133
133
|
}
|
|
134
134
|
import { DisplayObject } from './display_object';
|
|
135
|
-
import { Game } from '../core/game';
|
|
136
135
|
import { Point } from '../geom/point';
|
|
137
136
|
//# sourceMappingURL=bitmap_text.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bitmap_text.d.ts","sourceRoot":"","sources":["../../../src/phaser/display/bitmap_text.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"bitmap_text.d.ts","sourceRoot":"","sources":["../../../src/phaser/display/bitmap_text.js"],"names":[],"mappings":"AAKA;IACE;;;;;;;;;OASG;IACH,kBARW,OAAO,cAAc,EAAE,IAAI,MAC3B,MAAM,MACN,MAAM,SACN,MAAM,SACN,MAAM,SACN,MAAM,UACN,MAAM,EAoBhB;IAhBC,kCAAgB;IAChB,aAAuB;IAEvB,kBAAkB;IAClB,mBAAmB;IACnB,mBAA8B;IAC9B,eAAiB;IACjB,kBAAkB;IAClB,cAAkC;IAClC,WAA2C;IAC3C,cAAiB;IACjB,kBAAqB;IACrB,eAAmB;IACnB,cAAqB;IAErB,eAAkB;IAwBhB,sBAAuB;IAY3B;;;OAGG;IACH,cAFW,MAAM,QAIhB;IAkTD;;OAEG;IACH,sBAMC;IAjBD;;;OAGG;IACH,mBAEC;IA9SD;;;;;;OAMG;IACH,eALW,MAAM,SACN,MAAM,QACN,MAAM,GACJ,MAAM,CA6DlB;IAED;;;;;OAKG;IACH,gBAJW,MAAM,YACN,MAAM,GACJ,MAAM,CAsBlB;IAED;;OAEG;IACH,mBAkEC;IAED;;;OAGG;IACH,eAFa,MAAM,CAgBlB;IAED;;OAEG;IACH,wBAOC;IAUD;;OAEG;IACH,uBAKC;IAhBD;;;OAGG;IACH,oBAEC;IAoBD;;OAEG;IACH,sBAKC;IAhBD;;;OAGG;IACH,mBAEC;IA2BD;;OAEG;IACH,sBAEC;IApBD;;;OAGG;IACH,mBASC;IAiBD;;OAEG;IACH,sBAOC;IAlBD;;;OAGG;IACH,mBAEC;IAsBD;;OAEG;IACH,0BAMC;IAjBD;;;OAGG;IACH,uBAEC;IAwCD;;OAEG;IACH,0BAKC;IAhBD;;;OAGG;IACH,uBAEC;IAoBD;;OAEG;IACH,2BAMC;IAjBD;;;OAGG;IACH,wBAEC;CAYF;8BA5a6B,kBAAkB;sBAE1B,eAAe"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export class Button extends Image {
|
|
2
2
|
/**
|
|
3
3
|
* TBD.
|
|
4
|
-
* @param {Game} game - TBD.
|
|
4
|
+
* @param {import('../core/game').Game} game - TBD.
|
|
5
5
|
* @param {number} x - TBD.
|
|
6
6
|
* @param {number} y - TBD.
|
|
7
7
|
* @param {string} key - TBD.
|
|
@@ -12,7 +12,7 @@ export class Button extends Image {
|
|
|
12
12
|
* @param {string} downFrame - TBD.
|
|
13
13
|
* @param {string} upFrame - TBD.
|
|
14
14
|
*/
|
|
15
|
-
constructor(game: Game, x?: number, y?: number, key?: string, callback?: Function, callbackContext?: object, overFrame?: string, outFrame?: string, downFrame?: string, upFrame?: string);
|
|
15
|
+
constructor(game: import('../core/game').Game, x?: number, y?: number, key?: string, callback?: Function, callbackContext?: object, overFrame?: string, outFrame?: string, downFrame?: string, upFrame?: string);
|
|
16
16
|
_onOverFrame: any;
|
|
17
17
|
_onOutFrame: any;
|
|
18
18
|
_onDownFrame: any;
|
|
@@ -100,5 +100,4 @@ export class Button extends Image {
|
|
|
100
100
|
import { Image } from './image';
|
|
101
101
|
import { Signal } from '../core/signal';
|
|
102
102
|
import { InputHandler } from '../core/input_handler';
|
|
103
|
-
import { Game } from '../core/game';
|
|
104
103
|
//# sourceMappingURL=button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/phaser/display/button.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/phaser/display/button.js"],"names":[],"mappings":"AAWA;IACE;;;;;;;;;;;;OAYG;IACH,kBAXW,OAAO,cAAc,EAAE,IAAI,MAC3B,MAAM,MACN,MAAM,QACN,MAAM,yCAEN,MAAM,cACN,MAAM,aACN,MAAM,cACN,MAAM,YACN,MAAM,EAyChB;IAzBC,kBAAwB;IACxB,iBAAuB;IACvB,kBAAwB;IACxB,gBAAsB;IACtB,sBAA4B;IAC5B,oBAA+B;IAC/B,mBAA8B;IAC9B,oBAA+B;IAC/B,kBAA6B;IAC7B,yBAA2B;IAC3B,iCAA+C;IAC/C,sBAAyB;IACzB,kBAAqB;IACrB,oBAAmC;IAwCrC;;;;OAIG;IACH,sBAHW,OAAO,eACP,OAAO,QAWjB;IAED;;OAEG;IACH,oBAEC;IAED;;OAEG;IACH,yBAEC;IAuID;;OAEG;IACH,+BAWC;IAtBD;;;OAGG;IACH,4BAEC;IAnID;;;;;OAKG;IACH,qBAJW,MAAM,SACN,MAAM,sBACN,OAAO,QAYjB;IAED;;;;OAIG;IACH,2BAHW,MAAM,GACJ,OAAO,CAiBnB;IAED;;;;;;OAMG;IACH,qBALW,MAAM,YACN,MAAM,aACN,MAAM,WACN,MAAM,QAOhB;IAED;;;;OAIG;IACH,2BAHW,MAAM,WACN,MAAM,QAchB;IAED;;;;OAIG;IACH,0BAHW,MAAM,WACN,MAAM,QAOhB;IAED;;;;OAIG;IACH,2BAHW,MAAM,WACN,MAAM,QAOhB;IAED;;;;;OAKG;IACH,yBAJW,MAAM,WACN,MAAM,UACN,OAAO,QAsBjB;CAyBF;sBA9QqB,SAAS;uBACR,gBAAgB;6BACV,uBAAuB"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export class CanvasRenderer {
|
|
2
2
|
/**
|
|
3
3
|
* TBD.
|
|
4
|
-
* @param {Game} game - TBD.
|
|
4
|
+
* @param {import('../../core/game').Game} game - TBD.
|
|
5
5
|
*/
|
|
6
|
-
constructor(game: Game);
|
|
6
|
+
constructor(game: import('../../core/game').Game);
|
|
7
7
|
type: number;
|
|
8
8
|
resolution: any;
|
|
9
9
|
clearBeforeRender: any;
|
|
@@ -25,12 +25,12 @@ export class CanvasRenderer {
|
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
27
|
* TBD.
|
|
28
|
-
* @param root - TBD.
|
|
28
|
+
* @param {import('../../core/stage').Stage} root - TBD.
|
|
29
29
|
*/
|
|
30
|
-
render(root:
|
|
30
|
+
render(root: import('../../core/stage').Stage): void;
|
|
31
31
|
/**
|
|
32
32
|
* TBD.
|
|
33
|
-
* @param removeView - TBD.
|
|
33
|
+
* @param {boolean} removeView - TBD.
|
|
34
34
|
*/
|
|
35
35
|
destroy(removeView?: boolean): void;
|
|
36
36
|
/**
|
|
@@ -41,16 +41,15 @@ export class CanvasRenderer {
|
|
|
41
41
|
resize(width: number, height: number): void;
|
|
42
42
|
/**
|
|
43
43
|
* TBD.
|
|
44
|
-
* @param displayObject - TBD.
|
|
45
|
-
* @param context - TBD.
|
|
46
|
-
* @param matrix - TBD.
|
|
44
|
+
* @param {Image} displayObject - TBD.
|
|
45
|
+
* @param {CanvasRenderingContext2D} context - TBD.
|
|
46
|
+
* @param {import('../../geom/matrix').Matrix} matrix - TBD.
|
|
47
47
|
*/
|
|
48
|
-
renderDisplayObject(displayObject:
|
|
48
|
+
renderDisplayObject(displayObject: new (width?: number, height?: number) => HTMLImageElement, context: CanvasRenderingContext2D, matrix: import('../../geom/matrix').Matrix): void;
|
|
49
49
|
/**
|
|
50
50
|
* TBD.
|
|
51
51
|
*/
|
|
52
52
|
mapBlendModes(): void;
|
|
53
53
|
}
|
|
54
54
|
import * as CanvasMaskManager from './masker';
|
|
55
|
-
import { Game } from '../../core/game';
|
|
56
55
|
//# sourceMappingURL=renderer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderer.d.ts","sourceRoot":"","sources":["../../../../src/phaser/display/canvas/renderer.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"renderer.d.ts","sourceRoot":"","sources":["../../../../src/phaser/display/canvas/renderer.js"],"names":[],"mappings":"AA0BA;IACE;;;OAGG;IACH,kBAFW,OAAO,iBAAiB,EAAE,IAAI,EA4BxC;IAxBC,aAAyB;IACzB,gBAAwC;IACxC,uBAAsD;IACtD,iBAA0C;IAC1C,oBAAuB;IACvB,qBAAwB;IACxB,cAAyC;IACzC,eAA2C;IAC3C,UAAuB;IACvB,aAAsE;IAItE,iBAAmB;IACnB,cAAc;IACd;;;;;;MAMC;IAKH;;;OAGG;IACH,aAFW,OAAO,kBAAkB,EAAE,KAAK,QAqB1C;IAED;;;OAGG;IACH,qBAFW,OAAO,QASjB;IAED;;;;OAIG;IACH,cAHW,MAAM,UACN,MAAM,QAchB;IAED;;;;;OAKG;IACH,uGAHW,wBAAwB,UACxB,OAAO,mBAAmB,EAAE,MAAM,QAM5C;IAED;;OAEG;IACH,sBAwBC;CACF;mCApIkC,UAAU"}
|
|
@@ -18,7 +18,7 @@ export class DisplayObject {
|
|
|
18
18
|
_cr: number;
|
|
19
19
|
cachedBounds: Rectangle;
|
|
20
20
|
currentBounds: any;
|
|
21
|
-
_mask:
|
|
21
|
+
_mask: import("./graphics").Graphics;
|
|
22
22
|
children: any[];
|
|
23
23
|
ignoreChildInput: boolean;
|
|
24
24
|
/**
|
|
@@ -211,11 +211,12 @@ export class DisplayObject {
|
|
|
211
211
|
/**
|
|
212
212
|
* TBD.
|
|
213
213
|
*/
|
|
214
|
-
set mask(arg:
|
|
214
|
+
set mask(arg: import("./graphics").Graphics);
|
|
215
215
|
/**
|
|
216
216
|
* TBD.
|
|
217
|
+
* @returns {import('./graphics').Graphics} TBD.
|
|
217
218
|
*/
|
|
218
|
-
get mask():
|
|
219
|
+
get mask(): import("./graphics").Graphics;
|
|
219
220
|
/**
|
|
220
221
|
* TBD.
|
|
221
222
|
* @returns {number} TBD.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"display_object.d.ts","sourceRoot":"","sources":["../../../src/phaser/display/display_object.js"],"names":[],"mappings":"AAOA;IAKI,gBAAkB;IAClB,oBAAuB;IACvB,iBAAmB;IACnB,gBAA+B;IAC/B,aAA4B;IAC5B,aAA4B;IAC5B,cAA6B;IAC7B,iBAAiB;IACjB,cAAc;IACd,aAAmB;IACnB,YAAkB;IAClB,mBAAmB;IACnB,uBAAkC;IAElC,kBAAiC;IAEjC,gBAAsB;IACtB,YAAY;IACZ,YAAY;IACZ,wBAA6C;IAC7C,mBAAyB;IACzB,
|
|
1
|
+
{"version":3,"file":"display_object.d.ts","sourceRoot":"","sources":["../../../src/phaser/display/display_object.js"],"names":[],"mappings":"AAOA;IAKI,gBAAkB;IAClB,oBAAuB;IACvB,iBAAmB;IACnB,gBAA+B;IAC/B,aAA4B;IAC5B,aAA4B;IAC5B,cAA6B;IAC7B,iBAAiB;IACjB,cAAc;IACd,aAAmB;IACnB,YAAkB;IAClB,mBAAmB;IACnB,uBAAkC;IAElC,kBAAiC;IAEjC,gBAAsB;IACtB,YAAY;IACZ,YAAY;IACZ,wBAA6C;IAC7C,mBAAyB;IACzB,qCAAiB;IACjB,gBAAkB;IAClB,0BAA6B;IAG/B;;OAEG;IACH,gBA6BC;IAED;;;;OAIG;IACH,gBAHW,aAAa,GACX,aAAa,CAIzB;IAED;;;;;;OAMG;IACH,kBALW,aAAa,SACb,MAAM,GACJ,aAAa,CAazB;IAED;;;;;OAKG;IACH,oBAJW,aAAa,UACb,aAAa,QAcvB;IAED;;;;;OAKG;IACH,qBAJW,aAAa,GACX,MAAM,CASlB;IAED;;;;;OAKG;IACH,qBAJW,aAAa,SACb,MAAM,QAUhB;IAED;;;;;OAKG;IACH,kBAJW,MAAM,GACJ,aAAa,CAYzB;IAED;;;;OAIG;IACH,mBAHW,aAAa,GACX,aAAa,CAQzB;IAED;;;;OAIG;IACH,qBAHW,MAAM,GACJ,aAAa,CASzB;IAED;;;;;;OAMG;IACH,2BALW,MAAM,YACN,MAAM,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AEG;IACH,qBAEC;IAbD;;;OAGG;IACH,kBAEC;IAiBD;;OAEG;IACH,wBAEC;IAbD;;;OAGG;IACH,qBAEC;CAQF;sBA/xBqB,eAAe;uBAEd,gBAAgB;0BADb,mBAAmB"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export class Graphics extends DisplayObject {
|
|
2
2
|
/**
|
|
3
3
|
* TBD.
|
|
4
|
-
* @param {Game} game - TBD.
|
|
4
|
+
* @param {import('../core/game').Game} game - TBD.
|
|
5
5
|
* @param {number} x - TBD.
|
|
6
6
|
* @param {number} y - TBD.
|
|
7
7
|
*/
|
|
8
|
-
constructor(game: Game, x?: number, y?: number);
|
|
9
|
-
game: Game;
|
|
8
|
+
constructor(game: import('../core/game').Game, x?: number, y?: number);
|
|
9
|
+
game: import("../core/game").Game;
|
|
10
10
|
type: number;
|
|
11
11
|
fillAlpha: number;
|
|
12
12
|
lineWidth: number;
|
|
@@ -154,10 +154,10 @@ export class Graphics extends DisplayObject {
|
|
|
154
154
|
_prevTint: any;
|
|
155
155
|
/**
|
|
156
156
|
* TBD.
|
|
157
|
-
* @param {Matrix} matrix - TBD.
|
|
157
|
+
* @param {import('../geom/matrix').Matrix} matrix - TBD.
|
|
158
158
|
* @returns {Rectangle} TBD.
|
|
159
159
|
*/
|
|
160
|
-
getBounds(matrix?: Matrix): Rectangle;
|
|
160
|
+
getBounds(matrix?: import('../geom/matrix').Matrix): Rectangle;
|
|
161
161
|
worldTransform: any;
|
|
162
162
|
/**
|
|
163
163
|
* TBD.
|
|
@@ -176,29 +176,27 @@ export class Graphics extends DisplayObject {
|
|
|
176
176
|
updateCachedSpriteTexture(): void;
|
|
177
177
|
/**
|
|
178
178
|
* TBD.
|
|
179
|
-
* @param shape - TBD.
|
|
179
|
+
* @param {object} shape - TBD.
|
|
180
180
|
* @returns {GraphicsData} TBD.
|
|
181
181
|
*/
|
|
182
|
-
drawShape(shape:
|
|
182
|
+
drawShape(shape: object): GraphicsData;
|
|
183
183
|
/**
|
|
184
184
|
* TBD.
|
|
185
|
-
* @param points - TBD.
|
|
186
|
-
* @param cull - TBD.
|
|
185
|
+
* @param {Point[]} points - TBD.
|
|
186
|
+
* @param {boolean} cull - TBD.
|
|
187
187
|
*/
|
|
188
|
-
drawTriangle(points:
|
|
188
|
+
drawTriangle(points: Point[], cull?: boolean): void;
|
|
189
189
|
/**
|
|
190
190
|
* TBD.
|
|
191
|
-
* @param vertices - TBD.
|
|
192
|
-
* @param indices - TBD.
|
|
191
|
+
* @param {number[]|Point[]} vertices - TBD.
|
|
192
|
+
* @param {number[]} indices - TBD.
|
|
193
193
|
* @param {boolean} cull - TBD.
|
|
194
194
|
*/
|
|
195
|
-
drawTriangles(vertices:
|
|
195
|
+
drawTriangles(vertices: number[] | Point[], indices: number[], cull?: boolean): void;
|
|
196
196
|
}
|
|
197
197
|
import { DisplayObject } from './display_object';
|
|
198
|
-
import { Game } from '../core/game';
|
|
199
198
|
import { GraphicsData } from './graphics_data';
|
|
200
199
|
import { Rectangle } from '../geom/rectangle';
|
|
201
200
|
import { Polygon } from '../geom/polygon';
|
|
202
|
-
import { Matrix } from '../geom/matrix';
|
|
203
201
|
import { Point } from '../geom/point';
|
|
204
202
|
//# sourceMappingURL=graphics.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graphics.d.ts","sourceRoot":"","sources":["../../../src/phaser/display/graphics.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"graphics.d.ts","sourceRoot":"","sources":["../../../src/phaser/display/graphics.js"],"names":[],"mappings":"AA0BA;IACE;;;;;OAKG;IACH,kBAJW,OAAO,cAAc,EAAE,IAAI,MAC3B,MAAM,MACN,MAAM,EAwBhB;IApBC,kCAAgB;IAChB,aAAoB;IAGpB,kBAAkB;IAClB,kBAAkB;IAClB,kBAAkB;IAClB,oBAAsB;IACtB,aAAoB;IACpB,kBAA6B;IAC7B,0BAAuB;IACvB,cAAgB;IAChB,gBAAmB;IACnB,sB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