Example #1
0
 public void Display(Answer answer_object)
 {
     this.text_component.text = answer_object.Text;
     this.option = answer_object.Index;
 }
Example #2
0
 public QuizelementText(string question, Answer answer)
 {
     this.question = question;
     this.answer   = answer;
 }
 public QuizText(string question, Answer answer) : base(question)
 {
     this.answer = answer;
 }