public static This CreateNewGame() { This game = new This(); This.Images = new Images(); This.Board = game.CreateNewBoard(Brushes.BlanchedAlmond, Brushes.Chocolate); return(game); }
public MainWindow() { This.Game = This.CreateNewGame(); InitializeComponent(); this.DataContext = This.Game; }
public static This CreateNewGame() { This game = new This(); This.Images = new Images(); This.Board = game.CreateNewBoard(Brushes.BlanchedAlmond, Brushes.Chocolate); return game; }