Beispiel #1
0
        public void Shuffle()
        {
            _ai.Shuffle();
            _user.Shuffle();

            ShuffleEvent.Invoke();

            _ai.Draw();
        }
Beispiel #2
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();
        }