Add selectQuestion for when the writer selects a question.
This commit is contained in:
parent
39f5e2bf43
commit
5f39ae63ff
1 changed files with 10 additions and 0 deletions
|
|
@ -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.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue