Esempio n. 1
0
        protected override void Because_of()
        {
            base.Because_of();

            _board = new Board(_tiles);

            _result_rows_accessor = VerifyRowsAccessor();
            _result_cols_accessor = VerifyColsAccessor();
        }
Esempio n. 2
0
        //IGameEngine _gameEngine = null;
        //IGame _game = null;
        //ICommand _move =
        protected override void Because_of()
        {
            base.Because_of();

            _board = new Board();
            _board.SetTiles(_tiles);
            _result_rows_accessor = VerifyRowsAccessor();
            _result_cols_accessor = VerifyColsAccessor();

            //_game = _gameEngine.NewGame();
            //_game.Start();
            //_board = _game.Output.GetBoard();
            //_game.Input.ReadCommand(IMove);
            //_game.OnBoardChange
            //_game.OnGameOver;
            //_game.Reset();
            //_game.Input.CanInputCommand
            //_board.Rows
        }