コード例 #1
0
 private void BuyStadeEvent(object sender, Windows.UI.Xaml.RoutedEventArgs e)
 {
     if (GameViewModel.Current.Player.PlayerMoney > GameViewModelService.GetCurrentStadePrice(CurrentCityName.Text))
     {
         GameViewModelService.SetCurrentStadeQuantity(CurrentCityName.Text);
         BlopSound.Play();
     }
 }
コード例 #2
0
 private void DownCityTaxes(object sender, Windows.UI.Xaml.RoutedEventArgs e)
 {
     GameViewModelService.SetDownCityTaxes(CurrentCityName.Text);
     BlopSound.Play();
 }
コード例 #3
0
 private void CityFourClickEvent(object sender, RoutedEventArgs e)
 {
     CityFrame.Navigate(typeof(CityView), GameViewModel.Current.CityFour);
     CityGrid.Visibility = Visibility.Visible;
     BlopSound.Play();
 }