Example #1
0
 public CharacterVariable Add(Bonus value)
 {
     return(new CharacterVariable(_rules, _values.Add(value)));
 }
 public CharacterVariable Add(Bonus value)
 {
     _values.Add(value);
     return(this);
 }
Example #3
0
 public CharacterVariable(BaseGameRules rules, Bonus value) : this(rules, ImmutableList.Create(value))
 {
 }