コード例 #1
0
ファイル: Engine.cs プロジェクト: TeamAvocadoUni/PokerStars
 public Engine(ICharacter player, ICollection<ICharacter> bots, ISingleBet bet, IPokerManager pokerManager, IDeck deck, IMessage message, IHandPower type, ICheckHand checkHandType)
 {
     this.player = player;
     this.bots = new List<ICharacter>(bots);
     this.Bet = bet;
     this.pokerManager = pokerManager;
     this.deck = deck;
     this.Message = message;
     this.winningHand = new Type();
     this.BigBlind = GameConstants.DefautBigBlind;
     this.SmallBlind = GameConstants.DefautSmallBlind;
     this.SetDefaultCall();
     this.Raise = 0;
     this.hasRaisedPlayers = false;
     this.ClassificattorType = type;
     this.CheckHandType = checkHandType;
     this.raisedTurn = 1;
 }
コード例 #2
0
ファイル: Engine.cs プロジェクト: poker0094/PokerStars
 public Engine(ICharacter player, ICollection <ICharacter> bots, ISingleBet bet, IPokerManager pokerManager, IDeck deck, IMessage message, IHandPower type, ICheckHand checkHandType)
 {
     this.player       = player;
     this.bots         = new List <ICharacter>(bots);
     this.Bet          = bet;
     this.pokerManager = pokerManager;
     this.deck         = deck;
     this.Message      = message;
     this.winningHand  = new Type();
     this.BigBlind     = GameConstants.DefautBigBlind;
     this.SmallBlind   = GameConstants.DefautSmallBlind;
     this.SetDefaultCall();
     this.Raise              = 0;
     this.hasRaisedPlayers   = false;
     this.ClassificattorType = type;
     this.CheckHandType      = checkHandType;
     this.raisedTurn         = 1;
 }