示例#1
0
    public void InitializeDeck(List <Card> cards)
    {
        undealtCards.ClearStack();
        dealtCards.ClearStack();

        foreach (Card card in cards)
        {
            card.transform.position = this.transform.position;
        }

        undealtCards.PushRange(cards);
    }