public CharacterSelectionView(GameViewModel vm) { InitializeComponent(); ViewModel = vm; UpdateView(); }
private void App_OnStartup(object sender, StartupEventArgs e) { GameViewModel viewModel = new GameViewModel(); viewModel.StartCharacterSelection(); }
public CharacterCreationView(GameViewModel vm) { InitializeComponent(); ViewModel = vm; DataContext = ViewModel; }