Beispiel #1
0
        public void RefreshUi()
        {
            System     = new SystemViewModel(save);
            Inventory  = new InventoryViewModel(save);
            Characters = new CharactersViewModel(save);

            OnPropertyChanged(nameof(System));
            OnPropertyChanged(nameof(Inventory));
            OnPropertyChanged(nameof(Characters));
        }
Beispiel #2
0
        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));
        }