0
0
Fork 0

Reset all parts of the team, not just the hand.

This commit is contained in:
Oliver-Akins 2021-01-26 16:18:57 -07:00
parent a5ee46bfb2
commit 0d0e9ecdad

View file

@ -36,11 +36,13 @@ export class Team {
};
public resetHand(): void {
public reset(): void {
/**
* Removes all the cards from the guesser's hand
* Resets all the per-game data related to this team
*/
this._hand = [];
this._questions = [];
this._answers = new Array<string>(8).fill(``);
}