Exemplo n.º 1
0
        public MainWindow()
        {
            InitializeComponent();

            game = new LightsOutGame();
            CreateGrid();
            DrawGrid();
        }
Exemplo n.º 2
0
        public MainWindow()
        {
            InitializeComponent();

            gameLogic           = new LightsOutGame();
            SizeThree.IsChecked = true;
            CreateGrid();
            DrawGrid();
        }
Exemplo n.º 3
0
 public MainWindow()
 {
     game = new LightsOutGame();
     InitializeComponent();
     CreateGrid();
     DrawGrid();
     exitButton.IsEnabled = false;
     exitButton.Opacity   = .5;
 }