Quiz
object Quiz
Object for a quiz
Type members
Classlikes
A quiz has an identifier, a question, some answers, a max score and optionally an image
A quiz has an identifier, a question, some answers, a max score and optionally an image
- Value parameters:
- answerList
a list of answers
- imagePath
an image path (optional)
- maxScore
a max score
- question
the question of the quiz
- quizId
a random UUID for the quiz
Value members
Concrete methods
Change the list of answers
Change the list of answers
- Value parameters:
- answerList
a new answer list
- quiz
the quiz to edit
- Returns:
Quiz
Change image path of a quiz
Change image path of a quiz
- Value parameters:
- imagePath
a new quiz image path (optional)
- quiz
the quiz to edit
- Returns:
Quiz
Change max score of a quiz
Change max score of a quiz
- Value parameters:
- maxScore
a new quiz max score
- quiz
the saved quiz to edit
- Returns:
Quiz
Change question of a quiz
Change question of a quiz
- Value parameters:
- questionText
a new quiz text question
- quiz
the quiz to edit
- Returns:
Quiz