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);
 }
Beispiel #8
0
 public override void OnBuildingBuilt(ParentBuilding building)
 {
     base.OnBuildingBuilt(building);
     SetManaText(manaPerDelivery);
     oldTextPosition = manaText.rectTransform.localPosition;
 }
Beispiel #9
0
 public virtual void OnBuildingRemoved(ParentBuilding building)
 {
 }
Beispiel #10
0
 public bool CanAddSection(Section section)
 {
     return(ParentBuilding.CanAddSection(section));
 }
Beispiel #11
0
 public override void OnBuildingBuilt(ParentBuilding building)
 {
     base.OnBuildingBuilt(building);
 }