public void SaveGame() { try { string file = FilerView.Save(); Filer.Save(file, GameFileable); } catch (ArgumentException e) { GameView.Display(e.Message); } }
public void Save() { try { string filename = FilerView.Save(); Filer.Save(filename, GameFileable); } catch (ArgumentException e) { FilerView.Display(e); } }
public void SaveDesign() { try { if (Designer.checkValid()) { string file = FilerView.Save(); Filer.Save(file, DesignerFileable); } } catch (ArgumentException e) { DesignerView.Display(e.Message); } }