public static void Compare(ConfigurableWaitingTimes c, ConfigurableWaitingTimes dc)
 {
     Assert.AreEqual(c.GetType(), dc.GetType());
     Assert.AreEqual(c.AfterBoardDealed, dc.AfterBoardDealed);
     Assert.AreEqual(c.AfterPlayerAction, dc.AfterPlayerAction);
     Assert.AreEqual(c.AfterPotWon, dc.AfterPotWon);
 }
예제 #2
0
 /// <summary>
 ///
 /// </summary>
 public TableParams()
 {
     TableName         = "Anonymous Table";
     GameType          = GameTypeEnum.Holdem;
     Variant           = "Texas Hold'Em";
     MinPlayersToStart = 2;
     MaxPlayers        = 10;
     WaitingTimes      = new ConfigurableWaitingTimes();
     MoneyUnit         = 10;
     Lobby             = new LobbyOptionsQuickMode();
     Blind             = new BlindOptionsNone()
     {
         MoneyUnit = MoneyUnit
     };
     Limit = new LimitOptionsPot();
 }
예제 #3
0
 /// <summary>
 /// 
 /// </summary>
 public TableParams()
 {
     Arguments = string.Empty;
     TableName = "Anonymous Table";
     Variant = GameSubTypeEnum.TexasHoldem;
     MinPlayersToStart = 2;
     MaxPlayers = 10;
     WaitingTimes = new ConfigurableWaitingTimes();
     GameSize = 10;
     Lobby = new LobbyOptionsQuickMode();
     Blind = BlindTypeEnum.Blinds;
     Limit = LimitTypeEnum.NoLimit;
     Options = new GameTypeOptionsCommunity();
 }
 /// <summary>
 /// 
 /// </summary>
 public TableParams()
 {
     TableName = "Anonymous Table";
     GameType = GameTypeEnum.Holdem;
     Variant = "Texas Hold'Em";
     MinPlayersToStart = 2;
     MaxPlayers = 10;
     WaitingTimes = new ConfigurableWaitingTimes();
     MoneyUnit = 10;
     Lobby = new LobbyOptionsQuickMode();
     Blind = new BlindOptionsNone() { MoneyUnit = MoneyUnit };
     Limit = new LimitOptionsPot();
 }