Exemplo n.º 1
0
        public SkillTree()
        {
            PSkills = new ProffesionSkill[]
            {
                new ProffesionSkill(null, PSkills[3], "A1"),
                new ProffesionSkill(null, PSkills[4], "B1"),
                new ProffesionSkill(null, PSkills[5], "C1"),

                new ProffesionSkill(PSkills[0], PSkills[6], "A2"),
                new ProffesionSkill(PSkills[1], PSkills[7], "B2"),
                new ProffesionSkill(PSkills[2], PSkills[8], "C2"),

                new ProffesionSkill(PSkills[3], null, "A3"),
                new ProffesionSkill(PSkills[4], null, "B3"),
                new ProffesionSkill(PSkills[5], null, "C3")
            };
        }
Exemplo n.º 2
0
 public ProffesionSkill(ProffesionSkill parent, ProffesionSkill child, string description)
 {
     this.parent      = parent;
     this.child       = child;
     this.description = description;
 }