Add resetHand method for teams
This commit is contained in:
parent
865c454589
commit
e8a44d16d5
1 changed files with 8 additions and 0 deletions
|
|
@ -36,6 +36,14 @@ export class Team {
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
public resetHand(): void {
|
||||||
|
/**
|
||||||
|
* Removes all the cards from the guesser's hand
|
||||||
|
*/
|
||||||
|
this._hand = [];
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
public removeCard(question: string) {
|
public removeCard(question: string) {
|
||||||
/**
|
/**
|
||||||
* Removes the given question from the medium's hand
|
* Removes the given question from the medium's hand
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue