public MainWindow() { InitializeComponent(); //ScoreWindow = new HighScoreWindow() { Owner = this }; Scores.DeserializeFromXML(ref GameScores); GenerateWorld(20, 20, 15); }
//internal HighScoreWindow ScoreWindow; public MainWindow3() { InitializeComponent(); Scores.DeserializeFromXML(ref GameScores); this.LoadScores(); GenerateWorld(20, 20, 15); }
public Game() { //this. Scores.DeserializeFromXML(ref this.GameScores); }