コード例 #1
0
 public void ShowStreetPanel(Street street)
 {
     if (street != null)
     {
         ActionWindow window = new ActionWindow();
         window.Show();
         window.ShowStreetPanel(street);
     }
 }
コード例 #2
0
 public void ShowDisaster(Disaster disaster)
 {
     if (disaster != null)
     {
         ActionWindow window = new ActionWindow();
         window.Show();
         window.ShowDisaster(disaster);
     }
 }
コード例 #3
0
 public void ShowOffer(Offer offer)
 {
     if (offer != null && offer.IsValid)
     {
         ActionWindow window = new ActionWindow();
         window.Show();
         window.ShowOffer(offer);
     }
 }
コード例 #4
0
 public void ShowWinWindow(Player winner)
 {
     if (winner != null)
     {
         ActionWindow window = new ActionWindow();
         window.Width = 570;
         window.Show();
         window.ShowWinner(winner);
     }
 }