示例#1
0
 public void UpgradeShotCount()
 {
     if (dude.GetBones() >= GetShotCountUpgradeCost())
     {
         dude.SpendBones(GetShotCountUpgradeCost());
         dude.UpgradeShotCount();
         shotCountUpgradeNum++;
     }
 }