Пример #1
0
        private void Init(IEnumerable <Event> events)
        {
            _gamePlayStates = new List <GamePlayState>();

            _gameId = events.First().GameId;

            _homeTeamAdvantage = TeamAdvantage.Even;
            _scoreBoard        = new ScoreBoard();
            _penaltyBox        = new PenaltyBox(_gameId);
        }
 public PenaltyBoxRollFactory(CurrentPlayer currentPlayer, PlayerNames names, Places places, Purses purses, PenaltyBox penaltyBox, Categories categories, QuestionsByCategory questions, bool[] isGettingOutOfPenaltyBox, int roll)
     : base(currentPlayer, names, places, purses, penaltyBox, categories, questions, isGettingOutOfPenaltyBox)
 {
     this.roll = roll;
 }
 public CorrectFactory(CurrentPlayer currentPlayer, PlayerNames names, Places places, Purses purses, PenaltyBox penaltyBox, Categories categories, QuestionsByCategory questions, bool[] isGettingOutOfPenaltyBox)
     : base(currentPlayer, names, places, purses, penaltyBox, categories, questions, isGettingOutOfPenaltyBox)
 {
 }