Beispiel #1
0
 private void RepairTower()
 {
     if (player.CanModifyItems(-RepairCost) && tower.CanModifyHealth())
     {
         player.RemoveItems(RepairCost);
         tower.AddHealth(RepairHealthValue);
     }
 }