Add a child logger to the Game
This commit is contained in:
parent
8bede05e07
commit
21c9034ab6
2 changed files with 7 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
|||
import { Team } from "./Team";
|
||||
import { Deck } from "./Deck";
|
||||
import { Logger } from "tslog";
|
||||
import { games } from "../main";
|
||||
import { Player } from "./Player";
|
||||
import { readFileSync } from "fs";
|
||||
|
|
@ -7,6 +8,7 @@ import { readFileSync } from "fs";
|
|||
export class Game {
|
||||
readonly id: string;
|
||||
readonly host: Player;
|
||||
public log: Logger;
|
||||
public ingame: boolean;
|
||||
public teams: [Team, Team];
|
||||
public players: Player[];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue