示例#1
0
        public PokerGame(PokerDealer dealer)
        {
            Dealer = dealer;

            State      = PokerGameState.Inactive;
            Deck       = new Deck();
            PokerTimer = new PokerGameTimer(this);
            Exporter   = new PokerExport();

            CommunityCards = new List <Card>();
            Players        = new List <PokerPlayer>();
            ActivePlayers  = new List <PokerPlayer>();
            RoundActions   = new List <PlayerAction>();
            PokerPots      = new List <PokerPot>();
            Viewers        = new List <PlayerMobile>();
        }
示例#2
0
        public PokerGame(PokerDealer dealer)
        {
            Dealer = dealer;

            State = PokerGameState.Inactive;
            Deck = new Deck();
            PokerTimer = new PokerGameTimer(this);
            Exporter = new PokerExport();

            CommunityCards = new List<Card>();
            Players = new List<PokerPlayer>();
            ActivePlayers = new List<PokerPlayer>();
            RoundActions = new List<PlayerAction>();
            PokerPots = new List<PokerPot>();
            Viewers = new List<PlayerMobile>();
        }