valtech-components 4.0.381 → 4.0.382
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/chessimals-game.component.mjs +69 -3
- package/esm2022/lib/components/organisms/mini-games/retro-audio.service.mjs +10 -1
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +78 -3
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/organisms/mini-games/chessimals-game.component.d.ts +10 -0
- package/lib/components/organisms/mini-games/retro-audio.service.d.ts +1 -0
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -23,6 +23,14 @@ interface ChessimalsMoveEffectView {
|
|
|
23
23
|
to: ChessimalsPosition;
|
|
24
24
|
capture: boolean;
|
|
25
25
|
}
|
|
26
|
+
interface ChessimalsMoveTrailView {
|
|
27
|
+
x: string;
|
|
28
|
+
y: string;
|
|
29
|
+
length: string;
|
|
30
|
+
angle: string;
|
|
31
|
+
animal?: ChessimalsAnimalType;
|
|
32
|
+
capture: boolean;
|
|
33
|
+
}
|
|
26
34
|
export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
27
35
|
private readonly i18n;
|
|
28
36
|
private readonly audio;
|
|
@@ -60,6 +68,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
60
68
|
readonly isBoardOrienting: import("@angular/core").WritableSignal<boolean>;
|
|
61
69
|
readonly movingPiece: import("@angular/core").WritableSignal<ChessimalsMovingPieceView>;
|
|
62
70
|
readonly moveEffect: import("@angular/core").WritableSignal<ChessimalsMoveEffectView>;
|
|
71
|
+
readonly moveTrail: import("@angular/core").Signal<ChessimalsMoveTrailView>;
|
|
63
72
|
readonly botThinking: import("@angular/core").WritableSignal<boolean>;
|
|
64
73
|
readonly confirmAction: import("@angular/core").WritableSignal<ChessimalsConfirmAction>;
|
|
65
74
|
readonly onlineJoinCode: import("@angular/core").WritableSignal<string>;
|
|
@@ -123,6 +132,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
123
132
|
selectCell(position: ChessimalsPosition): void;
|
|
124
133
|
private animateMove;
|
|
125
134
|
private applyAnimatedMove;
|
|
135
|
+
private playPowerUnlockSound;
|
|
126
136
|
private queueBotTurnIfNeeded;
|
|
127
137
|
private playBotTurn;
|
|
128
138
|
private clearBotTurn;
|
package/lib/version.d.ts
CHANGED