public void SaveMe(string name) { if (name == "") { name = this.LevelName; } Filer.Save(name, this); // call Save from filer model }
public void Save(string fileName) { Filer.Filer Filer = new Filer.Filer(new Filer.Loader(), new Filer.Saver(), new Filer.Converter()); Filer.Save(fileName, TheGame); }