Esempio n. 1
0
 private void SpecialCardActions()
 {
     if (myCard.ToString() == "End of Source")
     {
         FindObjectOfType <GatheringActions_Processing>().EndOfSource();
     }
     else
     {
         myCard.ExecuteEvent();
     }
 }
 private void TaskOnClick()
 {
     Destroy(popUp);
     myCard.ExecuteEvent();
     if (myCard is IEventCard)
     {
         var threatStack = FindObjectOfType <ThreatCardViewer>();
         threatStack.MoveOntoThreatStack(myCard, GetCardTexture());
     }
     else
     {
         var eventStack = FindObjectOfType <Eventphase>();
         eventStack.DrawAgain();
     }
 }
 private void TaskOnClick()
 {
     myCard.ExecuteEvent();
     EndPhase();
 }