Example #1
0
 private Character(BaseGameRules rules, string name, ImmutableList <CharacterLevel> levels, ImmutableDictionary <string, CharacterVariable> variables)
 {
     Rules     = rules;
     Name      = name;
     Levels    = levels;
     Variables = variables;
 }
Example #2
0
 public Character(BaseGameRules rules)
 {
     Rules = rules;
 }
Example #3
0
 public CharacterLevel(string className, BaseGameRules rules, ImmutableDictionary <string, CharacterVariable> variables)
 {
     ClassName = className;
     Rules     = rules;
     Variables = variables;
 }
Example #4
0
 public CharacterLevel(string className, BaseGameRules rules)
 {
     ClassName = className;
     Rules     = rules;
 }
Example #5
0
 public CharacterVariable(BaseGameRules rules, ImmutableList <Bonus> values)
 {
     _rules  = rules;
     _values = values;
 }
Example #6
0
 public CharacterVariable(BaseGameRules rules, Bonus value) : this(rules, ImmutableList.Create(value))
 {
 }
Example #7
0
 public CharacterVariable(BaseGameRules rules) : this(rules, ImmutableList <Bonus> .Empty)
 {
 }