Exemple #1
0
 public FilerController(ISaver saver, ILoader loader, IFiler filer, IGameFiler gameFileable, Game game, FilerForm view)
 {
     Saver             = saver;
     Loader            = loader;
     View              = view;
     theGame           = game;
     Filer             = filer;
     GameFileable      = gameFileable;
     FileHandled       = new FilerForm.FileEventHandler(OnFileEvent);
     View.FileHandled += FileHandled;
     Filer.CreateSaveFolder();
     View.SetDirectory(Filer.GetSaveLocation());
 }