示例#1
0
        public void SlotCard(UICardSlot slot, Card card)
        {
            // Data handling
            currentPlayer.commandLine.SlotCard(slot.index, card);

            // UI handling
            slot.SlotCard(card);
        }
示例#2
0
 public void SlotCurrentCard(UICardSlot slot)
 {
     cards.Remove(currentCard);
     slot.SlotCard(currentCard);
     if (cards.Count < 1)
     {
         Hide();
     }
 }