Beispiel #1
0
        public Supernode SetStartNodes(HashSet <ushort> startNodes)
        {
            Supernode supernode = new Supernode(startNodes);

            foreach (ushort nodeId in startNodes)
            {
                SkillNode node = SkillTree.Skillnodes[nodeId];
                NodeDict.Add(node, supernode);
                CheckLinks(node);
            }
            return(supernode);
        }
Beispiel #2
0
 public Supernode SetStartNodes(HashSet<ushort> startNodes)
 {
     Supernode supernode = new Supernode(startNodes);
     foreach (ushort nodeId in startNodes)
     {
         SkillNode node = SkillTree.Skillnodes[nodeId];
         NodeDict.Add(node, supernode);
         CheckLinks(node);
     }
     return supernode;
 }