Esempio n. 1
0
        public static This CreateNewGame()
        {
            This game = new This();

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