/// <summary> /// Initializes a new instance of the <see cref="CreditsViewModel"/> class. /// </summary> public CreditsViewModel() { try { errorLogViewModel = new ErrorLogViewModel(); scoreXmlAccess = new ScoresXmlAccess(); } catch { } }
/// <summary> /// Initializes a new instance of the <see cref="GameOverViewModel"/> class. /// </summary> public GameOverViewModel() { try { errorLogViewModel = new ErrorLogViewModel(); scoresXmlAccess = new ScoresXmlAccess(); highscoreList = scoresXmlAccess.LoadScores(); } catch { } }
/// <summary> /// Initializes a new instance of the <see cref="NewGameViewModel"/> class. /// </summary> public NewGameViewModel() { try { errorLogViewModel = new ErrorLogViewModel(); mapTxtAccess = new MapTxtAccess(); scoreXmlAccess = new ScoresXmlAccess(); optionsViewModel = new OptionsViewModel(); } catch { } }