valtech-components 4.0.421 → 4.0.422
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/bubble-blitz-game.component.mjs +2 -2
- package/esm2022/lib/components/organisms/mini-games/retro-audio.service.mjs +57 -6
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +58 -7
- 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/retro-audio.service.d.ts +5 -1
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -64,7 +64,7 @@ export declare class ChessimalsGameComponent implements OnInit, OnDestroy {
|
|
|
64
64
|
readonly botDifficulties: ChessimalsBotDifficulty[];
|
|
65
65
|
readonly botProfiles: ChessimalsBotProfile[];
|
|
66
66
|
readonly animals: ChessimalsAnimalView[];
|
|
67
|
-
readonly valtechComponentsVersion = "4.0.
|
|
67
|
+
readonly valtechComponentsVersion = "4.0.422";
|
|
68
68
|
readonly screen: import("@angular/core").WritableSignal<"home" | "game">;
|
|
69
69
|
readonly selectedBoardSize: import("@angular/core").WritableSignal<ChessimalsBoardSize>;
|
|
70
70
|
readonly selectedLocalMode: import("@angular/core").WritableSignal<ChessimalsLocalMode>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
type MelodyMode = 'menu' | 'game';
|
|
2
|
+
type MelodyMode = 'menu' | 'game' | 'bubble';
|
|
3
3
|
type ChessimalsPower = 'eagle' | 'bull' | 'kangaroo' | 'lion';
|
|
4
4
|
export declare class RetroAudioService {
|
|
5
5
|
private context?;
|
|
@@ -35,6 +35,7 @@ export declare class RetroAudioService {
|
|
|
35
35
|
startChessimalsGameMusic(): Promise<void>;
|
|
36
36
|
preloadChessimalsSamples(): void;
|
|
37
37
|
startGameMusic(): Promise<void>;
|
|
38
|
+
startBubbleBlitzMusic(): Promise<void>;
|
|
38
39
|
startMusic(mode?: MelodyMode): Promise<void>;
|
|
39
40
|
stopMusic(): void;
|
|
40
41
|
flip(): void;
|
|
@@ -81,6 +82,8 @@ export declare class RetroAudioService {
|
|
|
81
82
|
private menuMelody;
|
|
82
83
|
private savannaPulse;
|
|
83
84
|
private gameMelody;
|
|
85
|
+
private bubbleMelody;
|
|
86
|
+
private bubbleAmbientPulse;
|
|
84
87
|
private sequence;
|
|
85
88
|
private startSampleMusic;
|
|
86
89
|
private stopSampleMusic;
|
|
@@ -91,6 +94,7 @@ export declare class RetroAudioService {
|
|
|
91
94
|
private connectSampleMusic;
|
|
92
95
|
private disconnectSampleMusicGraph;
|
|
93
96
|
private tone;
|
|
97
|
+
private musicTone;
|
|
94
98
|
private sweep;
|
|
95
99
|
private filteredNoise;
|
|
96
100
|
private readonly handleVisibilityChange;
|
package/lib/version.d.ts
CHANGED