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