void SanitariumWindow_onTreatmentButtonClick(TreatmentHeroSlot slot)
 {
     if (slot.TreatmentSlot.Status == ActivitySlotStatus.Paid)
     {
         TownManager.GetHeroSlot(slot.TreatmentSlot.Hero).SetStatus(HeroStatus.Available);
         slot.SetStatus(ActivitySlotStatus.Available);
     }
 }
Exemplo 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);
     }
 }