valtech-components 4.0.432 → 4.0.434
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 +355 -213
- package/esm2022/lib/components/organisms/mini-games/mini-games.i18n.mjs +7 -1
- package/esm2022/lib/components/organisms/mini-games/types.mjs +1 -1
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +361 -213
- 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 +6 -0
- package/lib/components/organisms/mini-games/types.d.ts +6 -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.434";
|
|
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>;
|
|
@@ -20,6 +20,7 @@ export declare class ChristianityGameComponent {
|
|
|
20
20
|
protected readonly selectedPreview: import("@angular/core").WritableSignal<ChristianityCardPreview>;
|
|
21
21
|
protected readonly previewTilt: import("@angular/core").WritableSignal<ChristianityPreviewTilt>;
|
|
22
22
|
protected readonly showHistory: import("@angular/core").WritableSignal<boolean>;
|
|
23
|
+
protected readonly offeringsSeat: import("@angular/core").WritableSignal<ChristianitySeat>;
|
|
23
24
|
protected readonly player: import("@angular/core").Signal<ChristianityPlayerState>;
|
|
24
25
|
protected readonly opponent: import("@angular/core").Signal<ChristianityPlayerState>;
|
|
25
26
|
protected readonly currentPlayer: import("@angular/core").Signal<ChristianityPlayerState>;
|
|
@@ -37,6 +38,7 @@ export declare class ChristianityGameComponent {
|
|
|
37
38
|
protected hiddenHandCards(count: number): unknown[];
|
|
38
39
|
protected fanTransform(index: number, total: number, opponent: boolean): string;
|
|
39
40
|
protected readyOfferings(player: ChristianityPlayerState): number;
|
|
41
|
+
protected totalOfferings(player: ChristianityPlayerState): number;
|
|
40
42
|
protected canPlay(card: ChristianityCardDefinition): boolean;
|
|
41
43
|
protected canPlaySelected(): boolean;
|
|
42
44
|
protected selectHandCard(cardId: string): void;
|
|
@@ -49,11 +51,15 @@ export declare class ChristianityGameComponent {
|
|
|
49
51
|
protected endTurn(): void;
|
|
50
52
|
protected resetMock(): void;
|
|
51
53
|
protected closePreview(): void;
|
|
54
|
+
protected openOfferings(seat: ChristianitySeat): void;
|
|
55
|
+
protected closeOfferings(): void;
|
|
52
56
|
protected tiltPreview(event: PointerEvent): void;
|
|
53
57
|
protected resetPreviewTilt(): void;
|
|
54
58
|
private cleanupDestroyed;
|
|
55
59
|
protected inspectLeader(seat: ChristianitySeat): void;
|
|
56
60
|
protected inspectOffering(offering: ChristianityOfferingInstance): void;
|
|
61
|
+
protected canUseOfferingAbility(offering: ChristianityOfferingInstance, seat: ChristianitySeat): boolean;
|
|
62
|
+
protected useOfferingAbility(offering: ChristianityOfferingInstance, seat: ChristianitySeat): void;
|
|
57
63
|
protected inspectDeck(): void;
|
|
58
64
|
protected inspectHandCard(cardId: string): void;
|
|
59
65
|
protected inspectHistoryCard(cardId: string): void;
|
|
@@ -188,6 +188,9 @@ export interface ChristianityCardDefinition {
|
|
|
188
188
|
cost: number;
|
|
189
189
|
attack: number;
|
|
190
190
|
life: number;
|
|
191
|
+
abilityName?: string;
|
|
192
|
+
abilityText?: string;
|
|
193
|
+
abilityCost?: number;
|
|
191
194
|
}
|
|
192
195
|
export interface ChristianityCharacterInstance {
|
|
193
196
|
instanceId: string;
|
|
@@ -207,6 +210,9 @@ export interface ChristianityOfferingInstance {
|
|
|
207
210
|
owner: ChristianitySeat;
|
|
208
211
|
ready: boolean;
|
|
209
212
|
value: number;
|
|
213
|
+
abilityName?: string;
|
|
214
|
+
abilityText?: string;
|
|
215
|
+
abilityCost?: number;
|
|
210
216
|
}
|
|
211
217
|
export interface ChristianityPlayerState {
|
|
212
218
|
seat: ChristianitySeat;
|
package/lib/version.d.ts
CHANGED