private Scoreboard() { this.topFiveRecords = new List <Player>(); this.fileManagerFacade = new FileManagerFacade(); this.memory = new ProspectMemory(); this.memory.ScoreboardMemento = new ScoreboardMemento(this.topFiveRecords); this.memory.ScoreboardMemento = this.LoadRecords(); this.RestoreTopFive(this.memory.ScoreboardMemento); }
private Scoreboard() { this.topFiveRecords = new List<Player>(); this.fileManagerFacade = new FileManagerFacade(); this.memory = new ProspectMemory(); this.memory.ScoreboardMemento = new ScoreboardMemento(this.topFiveRecords); this.memory.ScoreboardMemento = this.LoadRecords(); this.RestoreTopFive(this.memory.ScoreboardMemento); }