示例#1
0
 public AttributeSet(CK2CharacterBase character, List <int> attributes)
 {
     this.character = character;
     baseAttributes[Attribute.diplomacy]   = attributes[0];
     baseAttributes[Attribute.martial]     = attributes[1];
     baseAttributes[Attribute.stewardship] = attributes[2];
     baseAttributes[Attribute.intrigue]    = attributes[3];
     baseAttributes[Attribute.learning]    = attributes[4];
 }
示例#2
0
 private void AddChild(CK2CharacterBase child)
 {
     Children.Add(child);
 }