public void RefreshUi() { System = new SystemViewModel(save); Inventory = new InventoryViewModel(save); Characters = new CharactersViewModel(save); OnPropertyChanged(nameof(System)); OnPropertyChanged(nameof(Inventory)); OnPropertyChanged(nameof(Characters)); }
public void RefreshUi() { System = new SystemViewModel(save); Inventory = new InventoryViewModel(save); Characters = new CharactersViewModel(save); RoomVisited = new RoomVisitedViewModel(save); Progress = new ProgressViewModel(save.StoryProgress); OnPropertyChanged(nameof(System)); OnPropertyChanged(nameof(Inventory)); OnPropertyChanged(nameof(Characters)); OnPropertyChanged(nameof(RoomVisited)); OnPropertyChanged(nameof(Progress)); }