Пример #1
0
        // constructor
        public BoardGameMode()
        {
            _startEvent = new StartEvent();
            _shuffleEvent = new ShuffleEvent();
            _drawEvent = new DrawEvent();
            _endEvent = new EndEvent();

            _bingoEvent = new BingoEvent();
            _attackEvent = new AttackEvent();
            _counterAttackEvent = new CounterAttackEvent();
            _removeAllDefenseEvent = new RemoveAllDefenseEvent();
            _turnChangeEvent = new TurnChangeEvent();
            _criterionChangeEvent = new CriterionChangeEvent();
            _flowChangeEvent = new FlowChangeEvent();
            _cellOwnerChangeEvent = new CellOwnerChangeEvent();
            _cellBingoChangeEvent = new CellBingoChangeEvent();

            _board = new Board();
        }
Пример #2
0
 public void End(EUserGameState state)
 {
     EndEvent.Invoke(state);
 }