0
0
Fork 0

Add selectQuestion for when the writer selects a question.

This commit is contained in:
Oliver-Akins 2020-12-27 15:11:51 -07:00
parent 39f5e2bf43
commit 5f39ae63ff

View file

@ -43,6 +43,16 @@ export class Team {
}; };
public selectQuestion(question: string) {
/**
* Adds the given question to the history of the questions.
*
* @param question -> The question the spirit is answering
*/
this._questions.push(question);
};
public modifyAnswer(answerIndex: number, answer: string) { public modifyAnswer(answerIndex: number, answer: string) {
/** /**
* Takes the value of an answer and modifies in the storage. * Takes the value of an answer and modifies in the storage.