Example #1
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");
 }
Example #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");
 }