valtech-components 4.0.381 → 4.0.383
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 +90 -6
- 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 +99 -6
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/components/organisms/mini-games/chessimals-game.component.d.ts +12 -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;
|
|
@@ -41,6 +49,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
41
49
|
private historyWatchTimer;
|
|
42
50
|
private moveEffectStartTimer;
|
|
43
51
|
private moveEffectClearTimer;
|
|
52
|
+
private powerUnlockTimer;
|
|
44
53
|
private pendingOnlineGameId;
|
|
45
54
|
private openingOnlineGameId;
|
|
46
55
|
private openedOnlineGameId;
|
|
@@ -60,6 +69,8 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
60
69
|
readonly isBoardOrienting: import("@angular/core").WritableSignal<boolean>;
|
|
61
70
|
readonly movingPiece: import("@angular/core").WritableSignal<ChessimalsMovingPieceView>;
|
|
62
71
|
readonly moveEffect: import("@angular/core").WritableSignal<ChessimalsMoveEffectView>;
|
|
72
|
+
readonly powerUnlockPulse: import("@angular/core").WritableSignal<boolean>;
|
|
73
|
+
readonly moveTrail: import("@angular/core").Signal<ChessimalsMoveTrailView>;
|
|
63
74
|
readonly botThinking: import("@angular/core").WritableSignal<boolean>;
|
|
64
75
|
readonly confirmAction: import("@angular/core").WritableSignal<ChessimalsConfirmAction>;
|
|
65
76
|
readonly onlineJoinCode: import("@angular/core").WritableSignal<string>;
|
|
@@ -123,6 +134,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
123
134
|
selectCell(position: ChessimalsPosition): void;
|
|
124
135
|
private animateMove;
|
|
125
136
|
private applyAnimatedMove;
|
|
137
|
+
private playPowerUnlockSound;
|
|
126
138
|
private queueBotTurnIfNeeded;
|
|
127
139
|
private playBotTurn;
|
|
128
140
|
private clearBotTurn;
|
package/lib/version.d.ts
CHANGED