/// <summary> /// /// </summary> /// <param name="node"></param> public void RemoveChild(Node node) { _children.Remove(node); }
public SceneGraph(Server server, AgentManager agentManager) { _server = server; RootNode = new Node(); _physics = new PhysicsManager(this); Commands = new NonBlockingQueue<UpdateCommand>(); Terrain = new Terrain(); _updateSender = new UpdateSender(_server, agentManager); _agentManager = agentManager; //testing this.SetupTemplate("objectupate168.dat"); }
/// <summary> /// /// </summary> /// <param name="node"></param> public void AddChild(Node node) { _children.Add(node); }