Example #1
0
 // constructor
 public SelectedState(CardDisplay currentCard, SlotDisplay currentSlot, List <SlotDisplay> arr_of_slots, Action <SelectedResults> resultCallBack)
 {
     this.resultCallBack = resultCallBack;
     this.currentCard    = currentCard;
     this.currentSlot    = currentSlot;
     this.arr_of_slots   = arr_of_slots;
 }
Example #2
0
 public NoSnappingState(CardDisplay currentCard, SlotDisplay currentSlot, Action <NotSnapResults> resultCallBack)
 {
     this.currentCard    = currentCard;
     this.currentSlot    = currentSlot;
     this.resultCallBack = resultCallBack;
 }