Exemple #1
0
        private BoardLocation[,] bl;  // Locations on the board - used to contain dots, etc.

        public GameBoard()
        {
            InitializeComponent();

            DependencyInjectionHelper.Init(((MainWindow)Application.Current.MainWindow));
            DependencyInjectionHelper.getGameComponent().inject(this);

            this.Focusable = true;

            bl = new BoardLocation[13, 27];

            ResetBoardLocations();
            PM.StartTimer();
        }