예제 #1
0
        private void btnLibrary_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            GameBoard.MainWindow library =
                new GameBoard.MainWindow("testmap.txt", setOfHeroes);

            this.NavigationService.Navigate(library);
        }
예제 #2
0
        //Open gaige/final lvl board
        private void btnGaige_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            if (gaigeUnlocked == true)
            {
                GameBoard.MainWindow library =
                    new GameBoard.MainWindow("testmap.txt", setOfHeroes, main, music);

                this.NavigationService.Navigate(library);
            }
        }
예제 #3
0
       //Open gaige/final lvl board
       private void btnGaige_MouseDoubleClick(object sender, MouseButtonEventArgs e)
       {
           if (gaigeUnlocked == true)
           {
               GameBoard.MainWindow library =
                   new GameBoard.MainWindow("testmap.txt", setOfHeroes, main, music);

               this.NavigationService.Navigate(library);
           }
       }
예제 #4
0
       /********************************************LAUNCH BOARD***********************************************************/

       //Open cafeteria/tutorial board
       private void btnCafeteria_MouseDoubleClick(object sender, MouseButtonEventArgs e)
       {

           if (cafeteriaUnlocked == true)
           {
               GameBoard.MainWindow tutorial =
                   new GameBoard.MainWindow("tutorial.txt", setOfHeroes, main, music);
               this.NavigationService.Navigate(tutorial);
               //Load tutorial button
               tutorial.TutorialLevel_Click(null, null);
           }

       }
예제 #5
0
       private void btnLibrary_MouseDoubleClick(object sender, MouseButtonEventArgs e)
       {
           GameBoard.MainWindow library =
               new GameBoard.MainWindow("testmap.txt", setOfHeroes);

           this.NavigationService.Navigate(library);
       }