public void SetUp()
        {
            var gameEngine = new GameEngine(Substitute.For<ITileSetFactory>());

            gamePlayViewModel = new GamePlayViewModel(gameEngine);

            gamePlayViewModel.StartNewGameCommand.Execute(null);
        }
Esempio n. 2
0
        private void InitializeModel()
        {
            var gameEngine = new GameEngine(new TileSetFactory(new ChitSetFactory()));

            DataContext = new GamePlayViewModel(gameEngine);
        }
Esempio n. 3
0
        private void InitializeModel()
        {
            var gameEngine = new GameEngine(new TileSetFactory(new ChitSetFactory()));

            DataContext = new GamePlayViewModel(gameEngine);
        }