Beispiel #1
0
        public void StartIntermission()
        {
            State = PokerGameState.Intermission;

            if (PokerTimer == null || !PokerTimer.Running)
            {
                PokerTimer = new PokerGameTimer(this);
                PokerTimer.Start();
            }
            HandCoolDown = CooldownPeriod;
        }
Beispiel #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>();
        }
Beispiel #3
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>();
        }
Beispiel #4
0
        public void StartIntermission()
        {
            State = PokerGameState.Intermission;

            if (PokerTimer == null || !PokerTimer.Running)
            {
                PokerTimer = new PokerGameTimer(this);
                PokerTimer.Start();
            }
            HandCoolDown = CooldownPeriod;
        }