Beispiel #1
0
 public Task(OpheliaData.TaskType n, string[] toAsk)
 {
     this.complete = false;
     this.type = n;
     this.askPhrases = toAsk;
     this.userAnswer = String.Empty;
 }
Beispiel #2
0
 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();
 }