예제 #1
0
 public void BuyHealth()
 {
     if (currentMoney >= healthCost)
     {
         HB.IncreaseHealth();
         healthUses++;
         currentMoney -= healthCost;
         moneySpent   += healthCost;
     }
 }