예제 #1
0
파일: Bet.cs 프로젝트: jjermann/sidibarrani
 public Bet(PlayType playType, bool isGeneralType = false)
 {
     BetAmount = new ScoreAmount(isMatch: true, isGeneral: isGeneralType);
     PlayType  = playType;
 }
예제 #2
0
파일: Bet.cs 프로젝트: jjermann/sidibarrani
 public bool IsSuccessFor(ScoreAmount amount)
 {
     return(amount.CompareTo(BetAmount) >= 0);
 }
예제 #3
0
파일: Bet.cs 프로젝트: jjermann/sidibarrani
 public Bet(PlayType playType, int amount)
 {
     BetAmount = new ScoreAmount(amount);
     PlayType  = playType;
 }