mirror of
https://github.com/Vale54321/schafkopf-bot.git
synced 2025-12-15 11:19:33 +01:00
fixed building issue (#30)
This commit is contained in:
committed by
GitHub
parent
b0cb2e2995
commit
52d2dd1f5f
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user