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