Пример #1
0
 public role()
 {
     SetNodeType("role");
     Skills = new ArrayList();
     Locn = new location();
     Profession = new profession();
 }
Пример #2
0
 private void addProfession(String name, int social_class,
     int manual, int clerical, int leadership, int social_status,
     int religious, int enforcement, int entertainment, int teaching)
 {
     profession p = new profession();
     p.Name = name;
     p.Manual.SetValue(manual);
     p.Clerical.SetValue(clerical);
     p.Leadership.SetValue(leadership);
     p.SocialStatus.SetValue(social_status);
     p.Religious.SetValue(religious);
     p.Enforcement.SetValue(enforcement);
     p.Entertainment.SetValue(entertainment);
     p.Teaching.SetValue(teaching);
     p.SocialClass = social_class;
     professions.Add(p);
 }