prettier
This commit is contained in:
@@ -1,45 +1,45 @@
|
||||
export interface StandardCard {
|
||||
id: string;
|
||||
aria: string;
|
||||
back: boolean;
|
||||
face: boolean;
|
||||
joker: boolean;
|
||||
suit: 'Clubs' | 'Diamonds' | 'Hearts' | 'Spades' | null;
|
||||
url: string;
|
||||
id: string;
|
||||
aria: string;
|
||||
back: boolean;
|
||||
face: boolean;
|
||||
joker: boolean;
|
||||
suit: 'Clubs' | 'Diamonds' | 'Hearts' | 'Spades' | null;
|
||||
url: string;
|
||||
}
|
||||
|
||||
export interface StandardGameCard extends StandardCard {
|
||||
flipped: boolean;
|
||||
flipped: boolean;
|
||||
}
|
||||
|
||||
export interface TarokkaCard {
|
||||
id: string;
|
||||
name: string;
|
||||
card: string;
|
||||
description: string;
|
||||
aria: string;
|
||||
back: boolean;
|
||||
suit: 'Coins' | 'Glyphs' | 'High Deck' | 'Stars' | 'Swords' | null;
|
||||
url: string;
|
||||
id: string;
|
||||
name: string;
|
||||
card: string;
|
||||
description: string;
|
||||
aria: string;
|
||||
back: boolean;
|
||||
suit: 'Coins' | 'Glyphs' | 'High Deck' | 'Stars' | 'Swords' | null;
|
||||
url: string;
|
||||
}
|
||||
|
||||
export interface TarokkaGameCard extends TarokkaCard {
|
||||
flipped: boolean;
|
||||
flipped: boolean;
|
||||
}
|
||||
|
||||
export interface GameState {
|
||||
id: string;
|
||||
players: Set<string>;
|
||||
cards: StandardGameCard[] | TarokkaGameCard[];
|
||||
lastUpdated: number;
|
||||
id: string;
|
||||
players: Set<string>;
|
||||
cards: StandardGameCard[] | TarokkaGameCard[];
|
||||
lastUpdated: number;
|
||||
}
|
||||
|
||||
export interface GameUpdate {
|
||||
id: string;
|
||||
cards: StandardGameCard[] | TarokkaGameCard[];
|
||||
id: string;
|
||||
cards: StandardGameCard[] | TarokkaGameCard[];
|
||||
}
|
||||
|
||||
export interface ClientUpdate {
|
||||
gameID: string;
|
||||
cardIndex: number;
|
||||
gameID: string;
|
||||
cardIndex: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user