Exemplo n.º 1
0
    // Start is called before the first frame update
    void Start()
    {
        uiManager_ = UI.UIManager.Instance;

        // FOR TESTING
        int count = 10;

        Card[] testingCards = new Card[count];
        for (int i = 0; i < count; i++)
        {
            testingCards[i] = new Card("Testing " + i, i);
        }

        deck_        = new Pile(testingCards);
        discardPile_ = new Pile(new List <Card>());
        hand_        = new Hand();

        uiManager_.SetDrawDeck(testingCards);
    }