fixed building issue (#30)

This commit is contained in:
Valentin Heiserer
2024-04-17 01:22:00 +02:00
committed by GitHub
parent b0cb2e2995
commit 52d2dd1f5f

View File

@@ -7,16 +7,16 @@ enum KartenFarbe {
TRUMPF = "TRUMPF", TRUMPF = "TRUMPF",
} }
enum KartenSymbol { // enum KartenSymbol {
SEVEN = "7", // SEVEN = "7",
EIGHT = "8", // EIGHT = "8",
NINE = "9", // NINE = "9",
TEN = "X", // TEN = "X",
UNTER = "U", // UNTER = "U",
OBER = "O", // OBER = "O",
KOENIG = "K", // KOENIG = "K",
ASS = "A", // ASS = "A",
} // }
export enum Card { export enum Card {
EICHEL_7 = 'EICHEL_7', EICHEL_7 = 'EICHEL_7',
@@ -75,6 +75,7 @@ export enum GamePhase {
export interface CardArray { export interface CardArray {
cards: Card[]; cards: Card[];
} }
export interface CardObject { export interface CardObject {
card: Card; card: Card;
} }
@@ -91,7 +92,7 @@ export interface GameState {
export interface GameStateJson { export interface GameStateJson {
gamestate : GameState gamestate: GameState
} }
// Define a union type for all possible message types // Define a union type for all possible message types