示例#1
0
    public SavedGame.SavedTrack Save()
    {
        var st = new SavedGame.SavedTrack();

        track.ForEach(d => st.track.Add(d.Save()));
        return(st);
    }
示例#2
0
 public Track LoadFrom(SavedGame.SavedTrack savedTrack)
 {
     track.Clear();
     savedTrack.track.ForEach(sd => Place(Domino.LoadFrom(sd)));
     return(this);
 }