valtech-components 4.0.431 → 4.0.432
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/esm2022/lib/components/organisms/mini-games/christianity-game.component.mjs +150 -77
- package/esm2022/lib/components/organisms/mini-games/mini-games.i18n.mjs +5 -1
- package/esm2022/lib/components/organisms/mini-games/types.mjs +1 -1
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +154 -77
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/organisms/mini-games/chessimals-game.component.d.ts +1 -1
- package/lib/components/organisms/mini-games/christianity-game.component.d.ts +9 -0
- package/lib/components/organisms/mini-games/types.d.ts +1 -0
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -65,7 +65,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
65
65
|
readonly botDifficulties: ChessimalsBotDifficulty[];
|
|
66
66
|
readonly botProfiles: ChessimalsBotProfile[];
|
|
67
67
|
readonly animals: ChessimalsAnimalView[];
|
|
68
|
-
readonly valtechComponentsVersion = "4.0.
|
|
68
|
+
readonly valtechComponentsVersion = "4.0.432";
|
|
69
69
|
readonly screen: import("@angular/core").WritableSignal<"home" | "game">;
|
|
70
70
|
readonly selectedBoardSize: import("@angular/core").WritableSignal<ChessimalsBoardSize>;
|
|
71
71
|
readonly selectedLocalMode: import("@angular/core").WritableSignal<ChessimalsLocalMode>;
|
|
@@ -6,12 +6,19 @@ interface ChristianityCardPreview {
|
|
|
6
6
|
meta: string;
|
|
7
7
|
body: string;
|
|
8
8
|
}
|
|
9
|
+
interface ChristianityPreviewTilt {
|
|
10
|
+
rotateX: number;
|
|
11
|
+
rotateY: number;
|
|
12
|
+
shiftX: number;
|
|
13
|
+
shiftY: number;
|
|
14
|
+
}
|
|
9
15
|
export declare class ChristianityGameComponent {
|
|
10
16
|
private i18n;
|
|
11
17
|
protected readonly game: import("@angular/core").WritableSignal<ChristianityGameState>;
|
|
12
18
|
protected readonly selectedHandCard: import("@angular/core").WritableSignal<string>;
|
|
13
19
|
protected readonly selectedAttacker: import("@angular/core").WritableSignal<ChristianityCharacterInstance>;
|
|
14
20
|
protected readonly selectedPreview: import("@angular/core").WritableSignal<ChristianityCardPreview>;
|
|
21
|
+
protected readonly previewTilt: import("@angular/core").WritableSignal<ChristianityPreviewTilt>;
|
|
15
22
|
protected readonly showHistory: import("@angular/core").WritableSignal<boolean>;
|
|
16
23
|
protected readonly player: import("@angular/core").Signal<ChristianityPlayerState>;
|
|
17
24
|
protected readonly opponent: import("@angular/core").Signal<ChristianityPlayerState>;
|
|
@@ -42,6 +49,8 @@ export declare class ChristianityGameComponent {
|
|
|
42
49
|
protected endTurn(): void;
|
|
43
50
|
protected resetMock(): void;
|
|
44
51
|
protected closePreview(): void;
|
|
52
|
+
protected tiltPreview(event: PointerEvent): void;
|
|
53
|
+
protected resetPreviewTilt(): void;
|
|
45
54
|
private cleanupDestroyed;
|
|
46
55
|
protected inspectLeader(seat: ChristianitySeat): void;
|
|
47
56
|
protected inspectOffering(offering: ChristianityOfferingInstance): void;
|
|
@@ -229,6 +229,7 @@ export interface ChristianityGameState {
|
|
|
229
229
|
turnOwner: ChristianitySeat;
|
|
230
230
|
revision: number;
|
|
231
231
|
turnCount: number;
|
|
232
|
+
matchScore: Record<ChristianitySeat, number>;
|
|
232
233
|
sharedDeck: string[];
|
|
233
234
|
historyZone: string[];
|
|
234
235
|
players: Record<ChristianitySeat, ChristianityPlayerState>;
|
package/lib/version.d.ts
CHANGED