// 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; }
public NoSnappingState(CardDisplay currentCard, SlotDisplay currentSlot, Action <NotSnapResults> resultCallBack) { this.currentCard = currentCard; this.currentSlot = currentSlot; this.resultCallBack = resultCallBack; }