/// <summary> /// Initializes a new instance of the <see cref="GameLogic"/> class. /// </summary> /// <param name="model">gamemodel.</param> public GameLogic(GameModel model) { this.Model = model; this.Model.Highscore = LoadHelper.BaseHighscore; this.saver = new HighscoreSaverAndLoader(); this.Gameover = false; }
/// <summary> /// Initializes a new instance of the <see cref="HighScoreLister"/> class. /// </summary> public HighScoreLister() { this.loader = new HighscoreSaverAndLoader(); }