コード例 #1
0
        public CreationServiceTests()
        {
            _game = new Game {
                Matrix = new Matrix(3)
            };
            var neighboringCellsMarker = new NeighboringCellsMarker(_game);

            _creationService = new CreationService(_game, neighboringCellsMarker);
        }
コード例 #2
0
        public BattleServiceTests()
        {
            var game = new Game {
                Matrix = new Matrix(3)
            };
            var neighboringCellsMarker = new NeighboringCellsMarker(game);

            _creationService = new CreationService(game, neighboringCellsMarker);
            _battleService   = new BattleService(game);
        }