public CharacterSelectionView(GameViewModel vm)
 {
     InitializeComponent();
     ViewModel = vm;
     UpdateView();
 }
Пример #2
0
        private void App_OnStartup(object sender, StartupEventArgs e)
        {
            GameViewModel viewModel = new GameViewModel();

            viewModel.StartCharacterSelection();
        }
 public CharacterCreationView(GameViewModel vm)
 {
     InitializeComponent();
     ViewModel = vm;
     DataContext = ViewModel;
 }