/// <summary>
 /// Initialize new instance of RouletteEventArgs with given number and color of roulette combination
 /// </summary>
 /// <param name="number">Number of roulette combination</param>
 /// <param name="color">Color of current roulette combination</param>
 public RouletteEventArgs(int number, Roulette.Color color) : base()
 {
     this.Combination = new RouletteCombination(number, color);
 }
 /// <summary>
 /// Initialize new instance of RouletteEventArgs with given roulette combination
 /// </summary>
 /// <param name="combination">Roulette combination</param>
 public RouletteEventArgs(RouletteCombination combination)
 {
     this.Combination = combination;
 }
Пример #3
0
 /// <summary>
 /// Initialize new instance of class Player that has name and bet combination
 /// </summary>
 /// <param name="name">Player name</param>
 /// <param name="betCombination">Start bet combination</param>
 public Player(string name, RouletteCombination betCombination)
 {
     BetCombination = betCombination;
     Name           = name;
 }