vue-phaserjs 2.36.0 → 2.37.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -201
- package/README.md +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.js +328 -363
- package/dist/util/emit/constants.d.ts +1 -0
- package/dist/util/getDepthInsertIndex.d.ts +2 -0
- package/dist/util/setterMap/shared/IsoSetterMap.d.ts +79 -0
- package/dist/util/setterMap/shared/ShapeSetterMap.d.ts +1 -1
- package/package.json +9 -11
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const EVENT_PREFIX = "on";
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
export declare const IsoSetterMap: {
|
|
2
|
+
readonly fillLeft: (gameObject: {
|
|
3
|
+
fillLeft: number;
|
|
4
|
+
fillRight: number;
|
|
5
|
+
fillTop: number;
|
|
6
|
+
setFaces: (showTop?: boolean, showLeft?: boolean, showRight?: boolean) => unknown;
|
|
7
|
+
setFillStyle: (fillTop?: number, fillLeft?: number, fillRight?: number) => unknown;
|
|
8
|
+
setProjection: (value: number) => unknown;
|
|
9
|
+
showLeft: boolean;
|
|
10
|
+
showRight: boolean;
|
|
11
|
+
showTop: boolean;
|
|
12
|
+
}) => (value: number | undefined) => void;
|
|
13
|
+
readonly fillRight: (gameObject: {
|
|
14
|
+
fillLeft: number;
|
|
15
|
+
fillRight: number;
|
|
16
|
+
fillTop: number;
|
|
17
|
+
setFaces: (showTop?: boolean, showLeft?: boolean, showRight?: boolean) => unknown;
|
|
18
|
+
setFillStyle: (fillTop?: number, fillLeft?: number, fillRight?: number) => unknown;
|
|
19
|
+
setProjection: (value: number) => unknown;
|
|
20
|
+
showLeft: boolean;
|
|
21
|
+
showRight: boolean;
|
|
22
|
+
showTop: boolean;
|
|
23
|
+
}) => (value: number | undefined) => void;
|
|
24
|
+
readonly fillTop: (gameObject: {
|
|
25
|
+
fillLeft: number;
|
|
26
|
+
fillRight: number;
|
|
27
|
+
fillTop: number;
|
|
28
|
+
setFaces: (showTop?: boolean, showLeft?: boolean, showRight?: boolean) => unknown;
|
|
29
|
+
setFillStyle: (fillTop?: number, fillLeft?: number, fillRight?: number) => unknown;
|
|
30
|
+
setProjection: (value: number) => unknown;
|
|
31
|
+
showLeft: boolean;
|
|
32
|
+
showRight: boolean;
|
|
33
|
+
showTop: boolean;
|
|
34
|
+
}) => (value: number | undefined) => void;
|
|
35
|
+
readonly projection: (gameObject: {
|
|
36
|
+
fillLeft: number;
|
|
37
|
+
fillRight: number;
|
|
38
|
+
fillTop: number;
|
|
39
|
+
setFaces: (showTop?: boolean, showLeft?: boolean, showRight?: boolean) => unknown;
|
|
40
|
+
setFillStyle: (fillTop?: number, fillLeft?: number, fillRight?: number) => unknown;
|
|
41
|
+
setProjection: (value: number) => unknown;
|
|
42
|
+
showLeft: boolean;
|
|
43
|
+
showRight: boolean;
|
|
44
|
+
showTop: boolean;
|
|
45
|
+
}) => (value: number | undefined) => void;
|
|
46
|
+
readonly showLeft: (gameObject: {
|
|
47
|
+
fillLeft: number;
|
|
48
|
+
fillRight: number;
|
|
49
|
+
fillTop: number;
|
|
50
|
+
setFaces: (showTop?: boolean, showLeft?: boolean, showRight?: boolean) => unknown;
|
|
51
|
+
setFillStyle: (fillTop?: number, fillLeft?: number, fillRight?: number) => unknown;
|
|
52
|
+
setProjection: (value: number) => unknown;
|
|
53
|
+
showLeft: boolean;
|
|
54
|
+
showRight: boolean;
|
|
55
|
+
showTop: boolean;
|
|
56
|
+
}) => (value: boolean | undefined) => void;
|
|
57
|
+
readonly showRight: (gameObject: {
|
|
58
|
+
fillLeft: number;
|
|
59
|
+
fillRight: number;
|
|
60
|
+
fillTop: number;
|
|
61
|
+
setFaces: (showTop?: boolean, showLeft?: boolean, showRight?: boolean) => unknown;
|
|
62
|
+
setFillStyle: (fillTop?: number, fillLeft?: number, fillRight?: number) => unknown;
|
|
63
|
+
setProjection: (value: number) => unknown;
|
|
64
|
+
showLeft: boolean;
|
|
65
|
+
showRight: boolean;
|
|
66
|
+
showTop: boolean;
|
|
67
|
+
}) => (value: boolean | undefined) => void;
|
|
68
|
+
readonly showTop: (gameObject: {
|
|
69
|
+
fillLeft: number;
|
|
70
|
+
fillRight: number;
|
|
71
|
+
fillTop: number;
|
|
72
|
+
setFaces: (showTop?: boolean, showLeft?: boolean, showRight?: boolean) => unknown;
|
|
73
|
+
setFillStyle: (fillTop?: number, fillLeft?: number, fillRight?: number) => unknown;
|
|
74
|
+
setProjection: (value: number) => unknown;
|
|
75
|
+
showLeft: boolean;
|
|
76
|
+
showRight: boolean;
|
|
77
|
+
showTop: boolean;
|
|
78
|
+
}) => (value: boolean | undefined) => void;
|
|
79
|
+
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { GameObjects } from 'phaser';
|
|
2
2
|
export declare const ShapeSetterMap: {
|
|
3
|
-
readonly active: (gameObject: GameObjects.Shape) => (value: boolean | undefined) => void;
|
|
4
3
|
readonly fillAlpha: (gameObject: GameObjects.Shape) => (value: number | undefined) => void;
|
|
5
4
|
readonly fillColor: (gameObject: GameObjects.Shape) => (value: number | undefined) => void;
|
|
6
5
|
readonly strokeStyle: (gameObject: GameObjects.Shape) => (value: [lineWidth?: number | undefined, color?: number | undefined, alpha?: number | undefined] | undefined) => void;
|
|
@@ -23,6 +22,7 @@ export declare const ShapeSetterMap: {
|
|
|
23
22
|
readonly originX: (gameObject: GameObjects.Components.Origin) => (value: number | undefined) => void;
|
|
24
23
|
readonly originY: (gameObject: GameObjects.Components.Origin) => (value: number | undefined) => void;
|
|
25
24
|
readonly mask: (gameObject: GameObjects.Components.Mask) => (value: Phaser.Display.Masks.GeometryMask | undefined) => void;
|
|
25
|
+
readonly active: (gameObject: GameObjects.GameObject) => (value: boolean | undefined) => void;
|
|
26
26
|
readonly displayHeight: (gameObject: {
|
|
27
27
|
displayHeight: number;
|
|
28
28
|
displayWidth: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-phaserjs",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.37.2",
|
|
4
4
|
"description": "A component library to integrate Phaser Framework with Vue.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"component-library",
|
|
@@ -46,24 +46,22 @@
|
|
|
46
46
|
"typecheck": "vue-tsc"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@esposter/configuration": "2.
|
|
50
|
-
"@vitejs/plugin-vue": "^6.0.8",
|
|
49
|
+
"@esposter/configuration": "2.37.2",
|
|
51
50
|
"@vue/test-utils": "^2.4.11",
|
|
52
51
|
"ctix": "^2.8.2",
|
|
53
52
|
"type-fest": "^5.8.0",
|
|
54
53
|
"typedoc": "^0.28.20",
|
|
55
|
-
"
|
|
56
|
-
"vite": "^8.2.0",
|
|
54
|
+
"vite": "^8.2.1",
|
|
57
55
|
"vitest": "^4.1.10",
|
|
58
|
-
"vue-tsc": "^3.3.
|
|
56
|
+
"vue-tsc": "^3.3.9"
|
|
59
57
|
},
|
|
60
58
|
"peerDependencies": {
|
|
61
|
-
"@esposter/shared": "2.
|
|
62
|
-
"parse-tmx": "2.
|
|
59
|
+
"@esposter/shared": "2.37.1",
|
|
60
|
+
"parse-tmx": "2.37.1",
|
|
63
61
|
"phaser": "^4.2.1",
|
|
64
62
|
"phaser4-rex-plugins": "^4.2.0",
|
|
65
|
-
"pinia": "^4.0.
|
|
66
|
-
"vue": "^3.5.
|
|
63
|
+
"pinia": "^4.0.3",
|
|
64
|
+
"vue": "^3.5.41"
|
|
67
65
|
},
|
|
68
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "4d775dbd8289e6caaee48f08038b65fddb4babbc"
|
|
69
67
|
}
|