GameStage

class GameStage(var coursesInGame: List[SavedCourse], var quizInGame: QuizInGame, var review: Review, var gameSettings: GameSettings, var playerStatsInGame: PlayerStats)

Game Stage with the list of the full-courses selected, a QuizInGame current, a Review of the quizzes played, and some settings

Value parameters:
coursesInGame

a list of the curses selected to play in this game, sublist of all courses

gameSettings

settings like maximum number question, time

playerStatsInGame

the stats of the game currently playing

quizInGame

a quiz to play, with a sub list of answers selected and the relative course

review

a list of quizzes played

class Object
trait Matchable
class Any

Value members

Concrete methods

def addQuizToStats(isCorrect: Boolean, score: Int, timeToAnswer: Double): Unit
def addReviewQuizAnswer(answer: Answer, score: Int, timeToAnswer: Double): Unit
def maxQuizzesReached: Boolean
def quizInGamePresent: Boolean
def quizInGame_(_quizInGame: QuizInGame): Unit

Set the quizInGame value

Set the quizInGame value

Value parameters:
_quizInGame

the saved course to edit