adjustable settings

This commit is contained in:
Gavin McDonald
2025-04-16 15:20:06 -04:00
parent 3018cd7c10
commit 14dc1139fb
10 changed files with 158 additions and 63 deletions

View File

@@ -1,3 +1,10 @@
export interface Settings {
positionBack: boolean;
positionFront: boolean;
prophecy: boolean;
notes: boolean;
}
export interface StandardCard {
id: string;
aria: string;
@@ -68,12 +75,14 @@ export interface GameState {
players: Set<string>;
cards: TarokkaGameCard[];
lastUpdated: number;
settings: Settings;
}
export interface GameUpdate {
dmID: string;
spectatorID: string;
cards: TarokkaGameCard[];
settings: Settings;
}
export interface ClientUpdate {