Exemplo n.º 1
0
 /// <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 ManualResultsModel(BetTreeNodeModel model)
     : base(null)
 {
     Parent = model;
     Icon = Utilities.LoadBitmap(Properties.Resources.ResultsNodeIcon);
     InfoDisplayType = typeof(ResultNodeInfo);
 }
Exemplo n.º 2
0
 public void AssociatePolicy(BetTreeNodeModel model)
 {
     if (model.Parent != null)
     model.Parent.PolicyChanged += UpdatePolicy;
     this.Policy = model.Parent.Policy;
 }