Example #1
0
 public MainWindowViewModel(ColonyController colonyController)
 {
     ColonyController = colonyController;
     Categories       = ColonyController.FindCategories();
     Tick             = new CommandHandler(() => {
         ColonyController.Tick();
         UpdateView();
         new Persister().Save(ColonyController.Colony);
     });
 }