예제 #1
0
 public void selectCave(int cn)
 {
     caveNumber = cn;                     // Set cave number
     _Cave      = new Cave(caveNumber);   // Instantiate Cave object
     _Trivia    = new Trivia(caveNumber); // Instantiate Trivia object
     _Map       = new Map(caveNumber);
     // Open new game
     _PlayGame = new PlayGame(this); // Make new PlayGame object
     _PlayGame.Show();
 }
예제 #2
0
 public void selectCave(int cn)
 {
     caveNumber = cn; // Set cave number
     _Cave = new Cave(caveNumber); // Instantiate Cave object
     _Trivia = new Trivia(caveNumber); // Instantiate Trivia object
     _Map = new Map(caveNumber);
     // Open new game 
     _PlayGame = new PlayGame(this); // Make new PlayGame object
     _PlayGame.Show();
     
 }