Example #1
0
        public PokerEventArgs(PokerEnums.GameAction gameAction, PokerEnums.PlayerAction playerAction, IPokerPlayer player, double amount, double stack)
        {
            this.gameAction   = gameAction;
            this.playerAction = playerAction;
            this.player       = player;
            this.amount       = amount;
            this.stack        = stack;

            cardA = cardB = cardC = Card.Empty;
        }
Example #2
0
        public PokerEventArgs(PokerEnums.GameAction gameAction, Card card, double amount)
        {
            this.cardA      = card;
            this.gameAction = gameAction;
            this.amount     = amount;

            this.playerAction = 0;
            this.player       = null;
            this.stack        = -1;
            cardB             = cardC = Card.Empty;
        }
Example #3
0
        public PokerEventArgs(PokerEnums.GameAction gameAction, Card cardA, Card cardB, Card cardC, double amount)
        {
            this.cardA      = cardA;
            this.cardB      = cardB;
            this.cardC      = cardC;
            this.gameAction = gameAction;
            this.amount     = amount;

            this.playerAction = 0;
            this.player       = null;
            this.stack        = -1;
        }