teletilting

This commit is contained in:
Gavin McDonald
2025-06-27 18:14:06 -04:00
parent a0e4f54ed9
commit 2ae4c6a77b
7 changed files with 93 additions and 38 deletions

View File

@@ -82,6 +82,7 @@ export interface GameState {
cards: TarokkaGameCard[];
lastUpdated: number;
settings: Settings;
tilts: Tilt[][];
}
export interface GameUpdate {
@@ -89,6 +90,7 @@ export interface GameUpdate {
spectatorID: string;
cards: TarokkaGameCard[];
settings: Settings;
tilts: Tilt[][];
}
export interface ClientUpdate {
@@ -105,7 +107,7 @@ export interface Layout {
}
export interface Tilt {
cardID: string;
playerID?: string;
rotateX: number;
rotateY: number;
}