public class Survey extends Task
attemptPercentage, description, expectedAnswers, givenAnswers, minPassPercentage, numOfAttempts, questions, title, tracker| Constructor and Description |
|---|
Survey(java.lang.String title,
java.lang.String description,
java.lang.String[] questions,
EscapeRoom room)
Constructs the survey.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
submit(java.lang.String[] givenAnswers)
Submits the given numbers to the room class
|
getAttemptPercentage, getDescription, getMinPassPercentage, getNumOfAttempts, getQuestions, getTime, getTitle, startpublic Survey(java.lang.String title,
java.lang.String description,
java.lang.String[] questions,
EscapeRoom room)
title - The titledescription - The descriptionquestions - The questionsroom - The room