diff --git a/server/src/objects/Team.ts b/server/src/objects/Team.ts index 7447362..acbeb6f 100644 --- a/server/src/objects/Team.ts +++ b/server/src/objects/Team.ts @@ -1,16 +1,19 @@ import { Player } from "./Player"; export class Team { + readonly id: team; public guessers: Player[]; public writer: Player | null; private _hand: string[]; private _questions: string[]; private _answers: string[]; - constructor() { + constructor(id: team) { + this.id = id; this._answers = new Array(8).fill(``); this._questions = []; this._hand = []; + this.guessers = []; };