示例#1
0
 public NationalIdea(PdxSublist data, NationalIdeaGroup group)
 {
     Name         = data.Key;
     DisplayTitle = data.KeyValuePairs["title"];
     DisplayDesc  = data.KeyValuePairs["desc"];
     Effects      = new List <PdxSublist>();
     Group        = group;
     for (var i = 0; data.Sublists.ContainsKey($"level_{i}"); i++)
     {
         Effects.Add(data.Sublists[$"level_{i}"]);
     }
 }
示例#2
0
 public NationalIdeaGroupScore(NationalIdeaGroup group, float score)
 {
     Group = group;
     Score = score;
 }