예제 #1
0
        /// <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;
        }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HighScoreLister"/> class.
 /// </summary>
 public HighScoreLister()
 {
     this.loader = new HighscoreSaverAndLoader();
 }