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