コード例 #1
0
ファイル: CDealer.cs プロジェクト: dec-k/IN710-keigdl1
        public CDealer()
        {
            cards = new CDeck();
            players = new CHand[playerCount]; //initialize the players array.

            for (int i = 0; i < playerCount; i++) //create a new CHand object for all the players in the players array.
                players[i] = new CHand();
        }
コード例 #2
0
ファイル: CDealer.cs プロジェクト: tsgardiner/IN710gardits1
        public CDealer()
        {
            cards       = new CDeck();
            playerHands = new CHand[playerCount]; //initialize the playerHands array.

            for (int i = 0; i < playerCount; i++) //create a new CHand object for all the playerHands in the playerHands array.
            {
                playerHands[i] = new CHand();
            }
        }