Exemplo n.º 1
0
 public Bet(PlayType playType, bool isGeneralType = false)
 {
     BetAmount = new ScoreAmount(isMatch: true, isGeneral: isGeneralType);
     PlayType  = playType;
 }
Exemplo n.º 2
0
 public bool IsSuccessFor(ScoreAmount amount)
 {
     return(amount.CompareTo(BetAmount) >= 0);
 }
Exemplo n.º 3
0
 public Bet(PlayType playType, int amount)
 {
     BetAmount = new ScoreAmount(amount);
     PlayType  = playType;
 }