public StatPriority(KeyValuePair <StatDef, float> statDefWeightPair,
                     StatAssignment assignment = StatAssignment.Automatic)
 {
     Stat       = statDefWeightPair.Key;
     Weight     = statDefWeightPair.Value;
     Assignment = assignment;
 }
Beispiel #2
0
 public StatPriority(StatDef stat, float priority, StatAssignment assignment = StatAssignment.Automatic)
 {
     Stat       = stat;
     Weight     = priority;
     Assignment = assignment;
 }
 public StatPriority( KeyValuePair<StatDef, float> statDefWeightPair,
                      StatAssignment assignment = StatAssignment.Automatic )
 {
     Stat = statDefWeightPair.Key;
     Weight = statDefWeightPair.Value;
     Assignment = assignment;
 }
 public StatPriority( StatDef stat, float priority, StatAssignment assignment = StatAssignment.Automatic )
 {
     Stat = stat;
     Weight = priority;
     Assignment = assignment;
 }