public Task(OpheliaData.TaskType n, string[] toAsk) { this.complete = false; this.type = n; this.askPhrases = toAsk; this.userAnswer = String.Empty; }
public void CorrectInput(OpheliaData.TaskType type) { this.Interface.ComposeMessage(OpheliaData.GetAnySorryPhrase()); var tc = this.allTasks.Find(x => x.type == type); tc.complete = false; tc.userAnswer = String.Empty; this.AskNextQuestion(); }