void SanitariumWindow_onTreatmentButtonClick(TreatmentHeroSlot slot)
 {
     if (slot.TreatmentSlot.Status == ActivitySlotStatus.Paid)
     {
         TownManager.GetHeroSlot(slot.TreatmentSlot.Hero).SetStatus(HeroStatus.Available);
         slot.SetStatus(ActivitySlotStatus.Available);
     }
 }
Ejemplo n.º 2
0
 private void TreatmentHeroSlotButtonClicked(TreatmentHeroSlot slot)
 {
     if (slot.TreatmentSlot.Status == ActivitySlotStatus.Paid)
     {
         EstateSceneManager.Instanse.TownManager.GetHeroSlot(slot.TreatmentSlot.Hero).SetStatus(HeroStatus.Available);
         slot.SetStatus(ActivitySlotStatus.Available);
     }
 }