QuizInStats
object QuizInStats
Object for quiz in player stats model
Type members
Classlikes
case class QuizInStats(quizId: UUID, totalSeen: Int, totalScore: Int, totalRightAnswers: Int, averageTimeAnswer: Double)
Create a new QuizInStats
Create a new QuizInStats
- Value parameters:
- averageTimeAnswer
average time taken by user to answer
- totalRightAnswers
number of time the user answered the quiz correctly
- totalScore
total score gained in the quiz
- totalSeen
number of times the user has answered the quiz
Value members
Concrete methods
Change average time answer in quiz in stats
Change average time answer in quiz in stats
- Returns:
updated QuizInStats
Change total right answers in quiz in stats
Change total right answers in quiz in stats
- Returns:
updated QuizInStats