static PhysicsTree() { root = ScienceNode.scienceNodeInst[typeof(Newton)]; root.AddChild(ScienceNode.scienceNodeInst[typeof(Gauss)]); root.AddChild (ScienceNode.scienceNodeInst[typeof(Mendeleev)]); root.children[0].AddChild (ScienceNode.scienceNodeInst[typeof(Darwin)]); //root.AddChild( ScienceNode.scienceNodeInst[typeof(Einstain)] ); //root.children[1].AddChild( ScienceNode.scienceNodeInst[typeof(Fourier)] ); //root.children[1].children[0].AddChild( ScienceNode.scienceNodeInst[typeof(Fatos)] ); }
static BiologyTree() { root = ScienceNode.scienceNodeInst[typeof(Darwin)]; }
public void AddChild(ScienceNode child) { children.Add(child); child.parent = this; }
static ChemistryTree() { root = ScienceNode.scienceNodeInst[typeof(Mendeleev)]; }