valtech-components 4.0.430 → 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 +291 -85
- package/esm2022/lib/components/organisms/mini-games/mini-games.i18n.mjs +11 -1
- package/esm2022/lib/components/organisms/mini-games/types.mjs +1 -1
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +301 -85
- 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 +13 -2
- package/lib/components/organisms/mini-games/types.d.ts +4 -1
- 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>;
|
|
@@ -41,11 +48,15 @@ export declare class ChristianityGameComponent {
|
|
|
41
48
|
protected attackCharacter(target: ChristianityCharacterInstance): void;
|
|
42
49
|
protected endTurn(): void;
|
|
43
50
|
protected resetMock(): void;
|
|
44
|
-
protected
|
|
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;
|
|
48
|
-
|
|
57
|
+
protected inspectDeck(): void;
|
|
58
|
+
protected inspectHandCard(cardId: string): void;
|
|
59
|
+
protected inspectHistoryCard(cardId: string): void;
|
|
49
60
|
private inspectCharacter;
|
|
50
61
|
private spendOfferings;
|
|
51
62
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChristianityGameComponent, never>;
|
|
@@ -211,6 +211,8 @@ export interface ChristianityOfferingInstance {
|
|
|
211
211
|
export interface ChristianityPlayerState {
|
|
212
212
|
seat: ChristianitySeat;
|
|
213
213
|
displayName: string;
|
|
214
|
+
avatar?: string;
|
|
215
|
+
avatarColor?: string;
|
|
214
216
|
leaderName: string;
|
|
215
217
|
leaderHp: number;
|
|
216
218
|
leaderMaxHp: number;
|
|
@@ -227,7 +229,8 @@ export interface ChristianityGameState {
|
|
|
227
229
|
turnOwner: ChristianitySeat;
|
|
228
230
|
revision: number;
|
|
229
231
|
turnCount: number;
|
|
230
|
-
|
|
232
|
+
matchScore: Record<ChristianitySeat, number>;
|
|
233
|
+
sharedDeck: string[];
|
|
231
234
|
historyZone: string[];
|
|
232
235
|
players: Record<ChristianitySeat, ChristianityPlayerState>;
|
|
233
236
|
log: string[];
|
package/lib/version.d.ts
CHANGED