public Tuple <Control, IGameViewModel> CreateViewAndViewModel()
        {
            var view  = new OthelloView();
            var model = view.Model;

            return(new Tuple <Control, IGameViewModel>(view, model));
        }
Beispiel #2
0
        public Tuple <Control, IGameViewModel> CreateViewAndViewModel(NumberOfPlayers players)
        {
            var view  = new OthelloView();
            var model = view.Model;

            model.Players = players;
            return(new Tuple <Control, IGameViewModel>(view, model));
        }