public GameState(QuizCommand command) { _command = command; _questions = Resources.Quiz.Questions.Split(new[] { "\n" }, StringSplitOptions.RemoveEmptyEntries) .Select(q => q.Split('|')) .Select(q => new Question { Text = q[0], Answer = q[1] }) .ToList(); }
public BeginGameState(QuizCommand command) { _command = command; }