예제 #1
0
 public StatPriority(KeyValuePair <StatDef, float> statDefWeightPair,
                     StatAssignment assignment = StatAssignment.Automatic)
 {
     Stat       = statDefWeightPair.Key;
     Weight     = statDefWeightPair.Value;
     Assignment = assignment;
 }
예제 #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;
 }