Ejemplo n.º 1
0
 public void UIPayPlayer(Tiles.Property prop)
 {
     if (HasRef)
     {
         int rent = prop.CurrentRent();
         String message = String.Format("You pay player {0} ${1} for landing on {2}.", prop.OwnerID + 1, rent, prop.Name);
         DisplayPopup(message, "Pay Opponent");
     }//if
     else
     {
         UIRefError("UIPayPlayer()");
     }//else
 }
Ejemplo n.º 2
0
 private void OweRent(Tiles.Property prop)
 {
     int rent = prop.CurrentRent();
     UI.UIPayPlayer(prop);
     MoneyLogic.PayPlayer(Game.ActivePlayerID, prop.OwnerID, rent);
 }