public void SlotCard(UICardSlot slot, Card card) { // Data handling currentPlayer.commandLine.SlotCard(slot.index, card); // UI handling slot.SlotCard(card); }
public void SlotCurrentCard(UICardSlot slot) { cards.Remove(currentCard); slot.SlotCard(currentCard); if (cards.Count < 1) { Hide(); } }