Ejemplo n.º 1
0
 /// <summary>
 /// Constructs the inital view for the Scoreboard form.
 /// </summary>
 /// <param name="h">The Human Player's hand.</param>
 /// <param name="wins">The Human Player's wins.</param>
 /// <param name="rounds">A method that returns the number of rounds played.</param>
 /// <param name="status">A method that returns the game status in string format.</param>
 public Scoreboard(Hand h, ObserverInt wins, ObserverInt rounds, ObserverString status)
 {
     this.h      = h;
     this.wins   = wins;
     this.rounds = rounds;
     this.status = status;
     InitializeComponent();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructs the inital view for the Scoreboard form.
 /// </summary>
 /// <param name="h">The Human Player's hand.</param>
 /// <param name="wins">The Human Player's wins.</param>
 /// <param name="rounds">A method that returns the number of rounds played.</param>
 /// <param name="status">A method that returns the game status in string format.</param>
 public Scoreboard(Hand h, ObserverInt wins, ObserverInt rounds, ObserverString status)
 {
     this.h = h;
     this.wins = wins;
     this.rounds = rounds;
     this.status = status;
     InitializeComponent();
 }