JustBelot.Common.DealManager.DealManager C# (CSharp) Method

DealManager() public method

public DealManager ( JustBelot.Common.GameManager game ) : System
game JustBelot.Common.GameManager
return System
        public DealManager(GameManager game)
        {
            this.game = game;

            this.cardDeck = new Queue<Card>(CardsCollection.FullDeckOfCards);

            this.playerCards = new[] { new Hand(8), new Hand(8), new Hand(8), new Hand(8) }; // 4 players

            this.southNorthPlayersCardsTaken = new CardsCollection();
            this.eastWestPlayersCardsTaken = new CardsCollection();

            this.southNorthBelotes = 0;
            this.eastWestBelotes = 0;

            this.southNorthTeamTakesLastHand = null;
        }