Beispiel #1
0
 public GameHandler(bool test = false)
 {
     if (test)
     {
         question_Handler = new QuestionHandler(true);
     }
     else
     {
         question_Handler = new QuestionHandler();
     }
 }
Beispiel #2
0
 public ChartHandler(bool test = false)
 {
     if (test)
     {
         _questionHandler = new QuestionHandler(true);
         _gameHandler     = new GameHandler(true);
     }
     else
     {
         _questionHandler = new QuestionHandler();
         _gameHandler     = new GameHandler();
     }
 }
Beispiel #3
0
 public StatisticHandler(bool test = false)
 {
     if (test)
     {
         question_Handler = new QuestionHandler(true);
         _gameHandler     = new GameHandler(true);
         _chartHandler    = new ChartHandler(true);
     }
     else
     {
         question_Handler = new QuestionHandler();
         _gameHandler     = new GameHandler();
         _chartHandler    = new ChartHandler();
     }
 }