示例#1
0
 void ChargeLimb(Limb limb, int amount)
 {
     if (!limb.FullyCharged && energyPoints > 0)
     {
         energyPoints -= amount;
         limb.Charge(amount);
     }
     UpdateEnergyUI();
 }