public QuestionController(IDataProvider dataProvider, IGameRules gameRules) { GameRules = gameRules; DataProvider = dataProvider; timer.Tick += new EventHandler(Timer_Tick); TimeLeftToAnswer = GameRules.TimeToAnswer; questionPack = new QuestionPack(gameRules); }
public void LoadQuestionPack(string packName) { questionPack = DataProvider.GetQuestionPack(packName); }