示例#1
0
 public void BestowBlessing(Blessing blessing)
 {
     ActivePatron.ReceiveBlessing(blessing);
     SeatedPatrons.Add(ActivePatron);
     OnPatronSeated?.Invoke(ActivePatron);
     ActivateANewPatron();
 }
示例#2
0
 public void ReceiveBlessing(Blessing blessing)
 {
     BlessingReceived = blessing;
     foreach (AilmentType curableAilment in blessing.CurableAilments)
     {
         if (Ailments.Contains(curableAilment))
         {
             Ailments.Remove(curableAilment);
             return;
         }
     }
 }