diff --git a/server/docs/types/Team.md b/server/docs/types/Team.md index b5bbb3f..4905edf 100644 --- a/server/docs/types/Team.md +++ b/server/docs/types/Team.md @@ -5,6 +5,9 @@ A representation of a team, this consists of which player is the spirit and a co | -------- | ---- | ----------- | guessers | Player[] | All the Players that are on this team. | writer | Player | The player that is acting as the team's spirit. -| hand | String[] | The cards that are in the medium's hand. -| questions | String[] | The questions that the mediums have asked the spirit. (This is not equivalent to the Spirit's hand) -| answers | String[] | The answers that the spirit has given. \ No newline at end of file +| _hand | String[] | The cards that are in the medium's hand. +| _questions | String[] | The questions that the mediums have asked the spirit. (This is not equivalent to the Spirit's hand) +| _answers | String[] | The answers that the spirit has given. +| (get) hand | String[] | Returns the medium's hand. +| (get) answers | String[] | Returns the team's answers. +| (get) questions | String[] | Returns the team's questions. \ No newline at end of file diff --git a/server/src/objects/Team.ts b/server/src/objects/Team.ts index 7cb0d53..d45caea 100644 --- a/server/src/objects/Team.ts +++ b/server/src/objects/Team.ts @@ -19,6 +19,7 @@ export class Team { */ get hand(): string[] { return this._hand; }; get answers(): string[] { return this._answers; }; + get questions(): string[] { return this._questions; }; public addQuestions(questions: string[]): void {