예제 #1
0
 public List <Dice> GetSelectedDices()
 {
     return(Dices.FindAll(d => d.HasModifier(DiceModifier.Selected) && !d.HasModifier(DiceModifier.Used)));
 }
예제 #2
0
 public List <Dice> GetSavedDices()
 {
     return(Dices.FindAll(d => d.HasModifier(DiceModifier.Saved)));
 }
예제 #3
0
 public List <Dice> GetActiveDices()
 {
     return(Dices.FindAll(d => !d.HasModifier(DiceModifier.Used)));
 }