예제 #1
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="node"></param>
 public void RemoveChild(Node node)
 {
     _children.Remove(node);
 }
예제 #2
0
 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");
 }
예제 #3
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="node"></param>
 public void AddChild(Node node)
 {
     _children.Add(node);
 }