public void RefreshUi() { System = new SystemViewModel(Save); Players = new PlayersViewModel(Save); OnPropertyChanged(nameof(System)); OnPropertyChanged(nameof(Players)); }
public void RefreshUi() { System = new SystemViewModel(Save, this); Inventory = new InventoryViewModel(Save); Players = new PlayersViewModel(Save, this); OnPropertyChanged(nameof(System)); OnPropertyChanged(nameof(Inventory)); OnPropertyChanged(nameof(Players)); }