public void AddCard(S_CardBase card) { cards.Add(card); moveToDiscard(card); card.onDiscard = true; card.OnCardPlayed(); }
public void Build() { if (!selectedCard) { return; } if (currentPlayer.BuildCard(selectedCard)) { selectedCard.Deselect(); selectedCard.OnCardPlayed(); NextTurn(); selectedCard = null; } }