コード例 #1
0
ファイル: PostFlopBetModel.cs プロジェクト: ddksaku/rzr
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="table">The table upon which the players for this scenario are seated</param>
 /// <param name="round">The current round of betting</param>
 /// <param name="policy">Policy information dictating what the player can and can't do</param>
 public PostFlopBetModel(PlayerModel player, HoldemHandRound round, BetTypeModel betType)
     : base(betType)
 {
     Player = player;
     Round = round;
     Icon = Utilities.LoadBitmap(Properties.Resources.PreflopBetIcon);
     Range = new HandValueRangeModel(round, null);
     InfoDisplayType = typeof(BetTreeNodeInfo);
 }
コード例 #2
0
ファイル: HandValueEditor.xaml.cs プロジェクト: ddksaku/rzr
 protected void SetModel(object sender, DependencyPropertyChangedEventArgs e)
 {
     _model = DataContext as HandValueRangeModel;
     Initialise();
 }