public static void Sell(Transform position, TowerStats stats) { int gold = stats.buildPrice / 2; Treasury.AddGold(gold); Builder.BuildSlot(position); Destroyer destroyer = position.GetComponentInParent <Destroyer>(); destroyer.DestroyYourself(); }
private void Start() { Health.MaxHealth = stats.health; Treasury.AddGold(stats.baseGold); }
public void LootGold() { Treasury.AddGold(goldAmount); }
public void RecieveIncome(PositiveInt income) => _Treasury.AddGold(income);