Пример #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);
 }