예제 #1
0
        public int RollDice(EDices diceType, int diceNumber)
        {
            var result = 0;

            for (var iteration = 0; iteration < diceNumber; iteration++)
            {
                result += RollDice(diceType);
            }

            return(result);
        }
예제 #2
0
 public abstract CheckResult Check(int stat, EDices dice, int diceNumber);
예제 #3
0
 public abstract CheckResult Check(int stat, EDices dice);
 public override CheckResult Check(int stat, EDices dice, int diceNumber)
 {
     return(Check(stat));
 }
 public override CheckResult Check(int stat, EDices dice)
 {
     return(Check(stat));
 }
예제 #6
0
 public override CheckResult Check(int stat, EDices dice, int diceNumber)
 {
     throw new NotImplementedException();
 }
예제 #7
0
 public int RollDice(EDices diceType)
 {
     return(_diceMap[diceType].Roll());
 }