public void BuildingUpgradeStarted(ParentBuilding building) { OnBuildingUpgradeStartedEvent(building); }
private void BuildingRemovedEvent(ParentBuilding building, bool byEnemy) { OnBuildingRemovedEvent?.Invoke(building, byEnemy); }
public void BuildingDamage(ParentBuilding damagedBuilding) { OnBuildingDamageEvent(damagedBuilding); }
private void BuildingUpgradeStartedEvent(ParentBuilding building) { OnBuildingUpgradeStartedEvent?.Invoke(building); }
public void BuildingBuilt(ParentBuilding building) { OnBuildingBuiltEvent(building); }
private void BuildingDamageEvent(ParentBuilding damagedBuilding) { OnBuildingDamageEvent?.Invoke(damagedBuilding); }
private void BuildingBuiltEvent(ParentBuilding building) { OnBuildingBuiltEvent?.Invoke(building); }
public override void OnBuildingBuilt(ParentBuilding building) { base.OnBuildingBuilt(building); SetManaText(manaPerDelivery); oldTextPosition = manaText.rectTransform.localPosition; }
public virtual void OnBuildingRemoved(ParentBuilding building) { }
public bool CanAddSection(Section section) { return(ParentBuilding.CanAddSection(section)); }
public override void OnBuildingBuilt(ParentBuilding building) { base.OnBuildingBuilt(building); }