Example #1
0
 public GameHandler(bool test = false)
 {
     if (test)
     {
         question_Handler = new QuestionHandler(true);
     }
     else
     {
         question_Handler = new QuestionHandler();
     }
 }
Example #2
0
 public ChartHandler(bool test = false)
 {
     if (test)
     {
         _questionHandler = new QuestionHandler(true);
         _gameHandler     = new GameHandler(true);
     }
     else
     {
         _questionHandler = new QuestionHandler();
         _gameHandler     = new GameHandler();
     }
 }
Example #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();
     }
 }