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

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