private void MoveEastButton_Click(object sender, RoutedEventArgs e) { if (EastLocation.Text == "Location Not Accessible") { MessageBox.Text = "Selected Location is Not Accessible"; } else { _gameSessionViewModel.MoveEast(); CurrentLocationName.Text = _gameSessionViewModel.CurrentLocationName; MessageBox.Text = _gameSessionViewModel.CurrentLocation.Message; } }
private void EastTravelButton_Click(object sender, RoutedEventArgs e) { _gameSessionViewModel.MoveEast(); }
private void MoveEastButton_Click(object sender, RoutedEventArgs e) { _gameSessionViewModel.MoveEast(); CurrentLocationName.Text = _gameSessionViewModel.CurrentLocationName; }