コード例 #1
0
 //constructor
 public GameControl(int cavenum, String playerName)
 {
     //re-initializes values
     startGame(cavenum);
     //sets player's name for current playthrough
     player.setPlayerName(playerName);
 }