0
0
Fork 0

Add a child logger to the Game

This commit is contained in:
Oliver-Akins 2021-01-02 13:29:26 -07:00
parent 8bede05e07
commit 21c9034ab6
2 changed files with 7 additions and 1 deletions

View file

@ -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[];