示例#1
0
 public void BuyGround(GroundController ground, int cost)
 {
     if (ground.status == 0)
     {
         if (IsEnoughMoney(cost))
         {
             MoneyChange(-cost);
             ground.GetBought();
         }
     }
 }